| fitmeasures | R Documentation |
Fit Measures for a Latent Variable Model estimated using INLA
## S4 method for signature 'INLAvaan'
fitMeasures(object, fit_measures = "all",
baseline_model = NULL, h1_model = NULL, fm_args,
output = "vector", level = NULL, ...)
## S4 method for signature 'INLAvaan'
fitmeasures(object, fit_measures = "all",
baseline_model = NULL, h1_model = NULL, fm_args,
output = "vector", level = NULL, ...)
object |
An object of class INLAvaan. |
fit_measures |
If |
baseline_model |
The baseline (null) model for the incremental fit
indices (BCFI, BTLI, BNFI). |
h1_model |
Ignored (included for compatibility with the lavaan generic). |
fm_args |
Ignored (included for compatibility with the lavaan generic). |
output |
Ignored (included for compatibility with the lavaan generic). |
level |
Ignored (included for compatibility with the lavaan generic). |
... |
Additional arguments. Currently supports:
|
A named numeric vector of fit measures.
bfit_indices(), compare(), diagnostics()
HS.model <- "
visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9
"
utils::data("HolzingerSwineford1939", package = "lavaan")
fit <- acfa(HS.model, HolzingerSwineford1939, std.lv = TRUE, nsamp = 100,
verbose = FALSE)
# All available fit measures
fitMeasures(fit)
# Specific measures
fitMeasures(fit, c("npar", "dic", "p_dic", "ppp"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.