fit_indices | R Documentation |
Calculates the fit indices
fit_indices(model, CV = FALSE, CovMat = NULL, data = NULL, n.obs = NULL)
model |
regsem model object. |
CV |
cross-validation. Note that this requires splitting the dataset into a training and test set prior to running the model. The model should be run on the training set, with the test set held out and then passed to CovMat=. |
CovMat |
If CV=T then test covariance matrix must be supplied. Note That this should be done before running the lavaan model and should not overlap with the data or covariance matrix used to run the model. |
data |
supply the dataset? |
n.obs |
Number of observations in the test set for CV. |
fits Full set of fit indices
## Not run:
fit_indices()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.