View source: R/reading_from_mplus.R
read_mplus_object_results | R Documentation |
Transforms results included in estimated mplusObject
into list of (lists of) data frames storing different sets of parameters.
read_mplus_object_results(
model,
wide = vector(mode = "character", length = 0L),
deleteDataFile = TRUE
)
model |
an (already estimated) |
wide |
optionally a character vector indicating that resulting data
frames should be transformed to wide format with only one row and
all the statistics in separate columns; argument gives names of the
statistics - to be chosen from the set: |
deleteDataFile |
a logical value indicating whether to remove from disk the text file storing the data from which the model was estimated |
A list with elements:
fitIndices
- one-row data frame containing model fit indices
and possibly warnings an errors,
pathCoefs
- a list with element unstandardized
and
possibly other elements storing standardized results; each of the
elements is a data frame storing slopes and intercepts from the
structural part of the model and also possibly latent trait means
(if freely estimated in the model),
variances
- a list with element unstandardized
and
possibly other elements storing standardized results; each of the
elements is a data frame storing variable variances or residual
variances,
covariances
- a list with element unstandardized
and
possibly other elements storing standardized results; each of the
elements is a data frame storing variable covariances,
slopes
- a list with element unstandardized
and
possibly other elements storing standardized results; each of the
elements is a data frame storing slope/discrimination parameters
linking latent traits with their items (observed indicators),
thresholds
- a list with element unstandardized
and
possibly other elements storing standardized results; each of the
elements is a data frame storing threshold/step/intercept item
(observed indicators of latent traits) parameters,
rSquared
- R-squared statistics for observed dependent
variables (if reported in the Mplus output),
reliabilities
- factor scores reliabilities, available only
if factor scores and their standard errors were estimated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.