The MplusAutomation package leverages the flexibility of the R language to automate latent variable model estimation and interpretation using Mplus, a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com). Specifically, MplusAutomation provides routines for creating related groups of models, running batches of models, and extracting and tabulating model parameters and fit statistics.
81
stars
46
forks
source link
Error vapply(df, class, FUN.VALUE = NA_character_) : values must be length 1, but FUN(X[[1]]) result is length 3 (mplusModeler) #178
I am using MplusAutomation to run a Latent Class Analysis in R (version 4.2.1), but there's an error occurring with mplusModeler and the function it calls internally (see code below):
_Error in vapply(df, class, FUN.VALUE = NAcharacter) : values must be length 1, but FUN(X[[1]]) result is length 3_
I am rather new to this forum so please let me know if there is any additional information I can provide.
I greatly appreciate the help!
Thanks,
-Sofia
I am using MplusAutomation to run a Latent Class Analysis in R (version 4.2.1), but there's an error occurring with mplusModeler and the function it calls internally (see code below):
Specifically, I get the following error message:
_Error in vapply(df, class, FUN.VALUE = NAcharacter) : values must be length 1, but FUN(X[[1]]) result is length 3_
I am rather new to this forum so please let me know if there is any additional information I can provide. I greatly appreciate the help! Thanks, -Sofia