compare2 | R Documentation |
Compare several fit indexes of two models computed from the RSA function
compare2(x, m1 = "", m2 = "full", digits = 3, verbose = TRUE)
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? |
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!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.