Learn R Programming

psytabs (version 1.0)

compareModels: Compare two cfa models fitted by lavaan.

Description

Internal function. Should not be used.

The function is adapted from the lavaan package.

Usage

compareModels(fm0, fm1, scaled = FALSE, fm0.scaling = 1, fm1.scaling = 1)

Arguments

fm0
First model.
fm1
Second model.
scaled
Is chisq scaled, i.e. a Satorra-Bentler-scaled chi-squared statistic?
fm0.scaling
Scaling factor of first model.
fm1.scaling
Scaling factor of second model.

Value

Some model comparison statistics.

Examples

Run this code
### to be added
1+1

Run the code above in your browser using DataLab