target
is a directory, all .out
files therein will be parsed and a single list will be
returned, where the list elements are named by the output
file name. Returned parameters typically include the
pairwise relationships between variables to be freed, the
change in model chi-square (M.I.), and the expected
parameter change (E.P.C.).extractModIndices(target = getwd(), recursive = FALSE,
filefilter)
TRUE
, parse all
models nested in subdirectories within target
.
Defaults to FALSE
.directory
. See regex
or
target
is a single file, a data.frame
containing modification results for the target output
file will be returned. If target
is a directory, a
list will be returned, where each element contains a
data.frame of the modification indices for a single file,
and the top-level elements are named after the
corresponding output file name. The basic
data.frame
containing the MODEL MODIFICATION
INDICES section of outfile
. Variables includemodV1
and modV2
(e.g.,
WITH for freeing the covariance between modV1
and
modV2
)modV1
and modV2
if freed.readModels
,
extractModelSummaries
,
extractModelParameters
ex3.14 <- extractModIndices(
"C:/Program Files/Mplus/Mplus Examples/User's Guide Examples/ex3.14.out")
Run the code above in your browser using DataLab