mplus2lavaan.RdRead in an Mplus input file, convert it to lavaan syntax, and fit the model.
mplus2lavaan(inpfile, run = TRUE)A lavaan object with the fitted results of the Mplus model. The parsed
and converted Mplus syntax is preserved in the @external slot of the lavaan
object in the $mplus.inp element. If run is FALSE, a list of converted
syntax is returned.
if (FALSE) { # \dontrun{
out <- mplus2lavaan("ex5.1.inp")
summary(out)
} # }