fit_indices: Calculates the fit indices

Description Usage Arguments Examples

View source: R/fit_indices.R

Description

Calculates the fit indices

Usage

1
fit_indices(model, CV = F, CovMat = NULL, data = NULL)

Arguments

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?

Examples

1
2
3
4
## Not run: 
fit_indices()

## End(Not run)

regsem documentation built on Dec. 6, 2017, 9:04 a.m.

Related to fit_indices in regsem...