The function fits the model using Mplus.
Usage
FitMplus(
data,
chains = 2L,
iter = 40000L,
fscores = NULL,
plot = FALSE,
wd = ".",
mplus_bin = NULL,
ncores = NULL,
seed = NULL
)Arguments
- data
R object. Output of the
GenData()function.- chains
Integer. Number of chains.
- iter
Integer. Number of iterations.
- fscores
Integer. Number of iterations for factor scores.
- plot
Logical. If
plot = TRUE, addPLOT: TYPE = PLOT3;toMplusinput file.- wd
Character string. Working directory.
- mplus_bin
Character string. Path to Mplus binary. If
mplus_bin = NULL, the function will try to find the appropriate binary.- ncores
Positive integer. Number of cores to use.
- seed
Integer. Random seed.
See also
Other Model Fitting Functions:
FitDTVAR(),
FitMetaVAR(),
FitNaive(),
MplusInput()