analysis/02_01_run_LPA_att.R

# 04_02 create model syntax
library(tidyverse)
library(MplusAutomation)
library(here)

#import my function to write mplus data to file in the right file location
devtools::load_all()

# createModels(templatefile = here("analysis/Mplus/attitudes/lpa_attitudes_template.txt"))
## IN THE FUTURE: have the template files built by createModels in a separate folder, then moved to the "run" folder to protect work.
runModels(
  here("analysis/Mplus/attitudes/"),
  recursive=TRUE)
e-mcbride/covid19.commuting documentation built on April 14, 2022, 5:30 p.m.