I am by no means an expert in R, but I hope someone can still find time to help me with this problem:
I am having trouble with running the mplusModeler command as it gives the following error:
'' Error in vapply(df, class FUN.value = NA_Character_) :
values must be length 1, but FUN(X[1]) result is length 3 "
I tried it with both the Cran version of MplusAutomation and the most recent version from Github, But the problem was still there.
I use the most recent version of R and version 7.3 for Mplus.
In the appendix you can find the document including the constuction of the mplusObject.