Description Usage Arguments Value Author(s) See Also Examples
Converts Mplus model syntax into lavaan model syntax.
1 | mplus2lavaan.modelSyntax(syntax)
|
syntax |
A character vector containing Mplus model syntax to be
converted to lavaan model syntax. Note that parsing Mplus syntax often
requires correct usage of newline characters. If |
A character string of converted lavaan
model syntax.
Michael Hallquist
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
syntax <- '
f1 BY x1*1 x2 x3;
x1 WITH x2;
x3 (1);
x2 (1);
'
lavSyntax <- mplus2lavaan.modelSyntax(syntax)
cat(lavSyntax)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.