View source: R/estimate-profiles-mplus.R
estimate_profiles_mplus2 | R Documentation |
Estimates latent profiles (finite mixture models) using the commercial
program Mplus, through the R-interface of
MplusAutomation
.
estimate_profiles_mplus2(
df,
n_profiles,
model_numbers,
select_vars,
...,
keepfiles = FALSE
)
df |
data.frame with two or more columns with continuous variables |
n_profiles |
Numeric vector. The number of profiles (or mixture components) to be estimated. Each number in the vector corresponds to an analysis with that many mixture components. |
model_numbers |
Numeric vector. Numbers of the models to be estimated.
See |
select_vars |
Character. Optional vector of variable names in |
... |
Parameters passed directly to
|
keepfiles |
Logical. Whether to retain the files created by
|
An object of class 'tidyLPA' and 'list'
Caspar J. van Lissa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.