compareModels: Compare two cfa models fitted by lavaan.

Description Usage Arguments Value Examples

Description

Internal function. Should not be used.

The function is adapted from the lavaan package.

Usage

1
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

1
2
###
1+1

Example output

[1] 2

psytabs documentation built on May 2, 2019, 5:27 p.m.