Description Usage Arguments Value Details Examples
Computes the RMR, SRMR, and CRMR.
1 2 3 4 5 6 7 8 |
S |
sample covariance matrix |
Sigma |
model-implied covariance matrix |
ybar |
sample mean vector |
mu |
model-implied mean vector |
lavaan_object |
is a fitted model of class |
exo |
boolean argument indicating if model has exogenous covariates |
An S4 object
S
, Sigma
, ybar
, and mu
must be of the same dimensions.
If the sum of the diagonal elements of S
equals the sum of the diagonal elements of Sigma
the variance component of SRMR is not included
If the sum of the sample means yhat
equals the sum of the model-implied means mu
the mean component of SRMR is not included
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.