The summary statistics are returned in the observedStats slot of the MxData object.
omxAugmentDataWithWLSSummary( mxd, type = c("WLS", "DWLS", "ULS"), allContinuousMethod = c("cumulants", "marginals"), ..., exogenous = c(), fullWeight = TRUE, returnModel = FALSE, silent = TRUE )
an MxData object containing raw data
the type of WLS weight matrix
which method to use when all indicators are continuous
Not used. Forces remaining arguments to be specified by name.
names variables to be modelled as exogenous
whether to produce a fullWeight matrix
whether to return the whole mxModel (TRUE) or just the mxData (FALSE)
logical. Whether to print status to terminal.
mxFitFunctionWLS
# NOT RUN { omxAugmentDataWithWLSSummary(mxData(Bollen[,1:8], 'raw')) # }
Run the code above in your browser using DataLab