View source: R/compare_models_advanced_lv.R
| compare_models_advanced_lv | R Documentation |
Advanced Model Comparison with Latent Variable Support
compare_models_advanced_lv(
models,
model_names = NULL,
model_types = NULL,
criteria = c("AIC", "BIC", "CFI", "TLI", "RMSEA", "SRMR"),
latent_indicators = NULL,
bootstrap = FALSE,
n_bootstrap = 1000
)
models |
List of model objects (lm, lavaan) |
model_names |
Character vector of model names |
model_types |
Character vector of model types ("lm", "lavaan") |
criteria |
Criteria to calculate |
latent_indicators |
List of latent variable indicators (for lavaan) |
bootstrap |
Logical, whether to perform bootstrapping |
n_bootstrap |
Number of bootstrap replications |
Comparison results with latent variable support
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.