View source: R/fit_modsem_da.R
| fit_modsem_da | R Documentation |
Calculates chi-sq test and p-value, as well as RMSEA for the LMS and QML models. Note that the Chi-Square based fit measures should be calculated for the baseline model, i.e., the model without the interaction effect
fit_modsem_da(
model,
chisq = TRUE,
lav.fit = FALSE,
drop.list.single.group = TRUE
)
model |
fitted model. Thereafter, you can use 'compare_fit()' to assess the comparative fit of the models. If the interaction effect makes the model better, and e.g., the RMSEA is good for the baseline model, the interaction model likely has a good RMSEA as well. |
chisq |
should Chi-Square based fit-measures be calculated? |
lav.fit |
Should fit indices from the |
drop.list.single.group |
Logical. If FALSE, (some) results are returned as a list, where each element corresponds to a group (even if there is only a single group). If TRUE, the list will be unlisted if there is only a single group |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.