cvgather | R Documentation |
lavan
model objects into a listGather lavaan
model objects to be compared via CV. Function returns a named list.
cvgather(...)
... |
Names of |
Named list
philippe
example_data <- lavaan::HolzingerSwineford1939 colnames(example_data) <- c("id", "sex", "ageyr", "agemo", 'school', "grade", "visualPerception", "cubes", "lozenges", "comprehension", "sentenceCompletion", "wordMeaning", "speededAddition", "speededCounting", "speededDiscrimination") model1 <- 'comprehension ~ sentenceCompletion + wordMeaning' model2 <- 'comprehension ~ wordMeaning sentenceCompletion ~ wordMeaning comprehension ~~ 0.5*wordMeaning' model_list <- cvgather(model1, model2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.