Back to schedule


Simply run this whole chunk to install and load packages.

p_needed <- c("tidyverse", "lubridate", "stringi", "devtools", "ggmap", "GGally", 
              "mosaic", "lme4", "nlme", "ppcor", "knitr", 
              "rmarkdown", "markdown", "gee", "haven",
              "psych", "foreign", "lavaan", "semPlot")

packages <- rownames(installed.packages())
p_to_install <- p_needed[!(p_needed %in% packages)]

if(length(p_to_install) > 0){
  install.packages(p_to_install)
}

lapply(p_needed, library, character.only = TRUE)

install_github("RandiLGarcia/dyadr")
library(dyadr)