estimate_mplus {tidySEM} | R Documentation |
This function is a wrapper for the functions
mplusObject
and
mplusModeler
. Using this function requires
'Mplus' to be installed.
estimate_mplus(x, ...)
x |
An object of class |
... |
Additional parameters passed to
|
The arguments dataout
, modelout
, and run
are
optional. If these are not specified, the model will be run in
tempdir
.
An object of class mplusObject
.
library(MplusAutomation) model <- tidy_sem(iris, "\\.") model <- measurement(model) if(mplusAvailable() == 0){ estimate_mplus(model) }