Chapter 3 Program set-up
We first have to install the packages needed for the analyses. …
if (!require("pacman")) install.packages("pacman") # package manager
::p_load(sjlabelled, # import Stata dataset
pacman# data wrangling
dplyr, # summaries of data
summarytools, # create plots
ggplot2, # plot themes
ggthemes, # contingency table statistics
sjstats, # association measures
correlation, # Breusch-Pagan test
olsrr, # RESET test
lmtest, # Regression tables
sjPlot )