View source: R/createMplusLCA.r
createMplusLCA | R Documentation |
Create a Mplus definition for Latent Class Analysis
createMplusLCA(x, classes, lc.vars = colnames(x), predictors, bfile = NULL)
x |
data.frame with data |
classes |
number of latent classes |
lc.vars |
list of variables to perform latent class. By default: all |
predictors |
variable for regression on latent class. By default: none |
bfile |
basename for files |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.