1 Set Up

In order to replicate these analyses, you must download and save the 2000 full-count data from the Longitudinal Tract Database by John Logan and colleagues. The README.md file in the repository provides instructions for doing so.

R Version. The analyses were built with R version 4.1.2 (2021-11-01).

Load the libraries necessary for the analysis and presentation of data.

library(Amelia)
library(broom)
library(ggplot2)
library(ggpubr)
library(foreign)
library(huxtable)
library(knitr)
library(kableExtra)
library(margins)
library(mitools)
library(survey)
library(tidyverse)
library(xtable)

options('huxtable.bookdown'=TRUE)

Create a list to hold results that will be reported to LaTeX later.

texcmds <- list()