compare2: Compare two specific RSA models

View source: R/compare.R

compare2R Documentation

Compare two specific RSA models

Description

Compare several fit indexes of two models computed from the RSA function

Usage

compare2(x, m1 = "", m2 = "full", digits = 3, verbose = TRUE)

Arguments

x

An RSA object

m1

Name of first model

m2

Name of second model

digits

Digits of the output

verbose

Should the summary be printed?

Details

You must take care yourself that the compared models are nested! There is no automatic check, so you could, in principle, compare non-nested models. This is valid for AIC, BIC, CFI, and R2 indices, but *not* for the chi2-LR test!


RSA documentation built on Jan. 12, 2023, 9:07 a.m.

Related to compare2 in RSA...