df2 %>%
single_imputation(.) %>%
estimate_profiles(2,
package = "MplusAutomation",
variances = "equal",
covariances = "equal")
...and I want to add an argument that would add a weighting term. In mplusmodeler you can add weighting terms through mplusObject such as foo = mplusObject(VARIABLE = "WEIGHT = Weight0"). I would basically want to add this to the tidyLPA syntax to results in something like this...
df2 %>%
single_imputation(.) %>%
estimate_profiles(2,
package = "MplusAutomation",
variances = "equal",
covariances = "equal",
mplusModeler(foo))