Read in an Mplus input file, convert it to lavaan syntax, and fit
the model.
Usage
mplus2lavaan(inpfile)
Arguments
inpfile
The filename (including a full path) of the Mplus input file.
The data (as referred to in the Mplus input file) should be in the same
directory as the Mplus input file.
Value
A list with two elements: mplus.inp contains the input data, a title,
the variable names, and the converted (lavaan) model syntax; lav.out
contains the fitted lavaan object.