| get_inlavaan_internal | R Documentation |
Returns the inlavaan_internal list stored inside a fitted INLAvaan
object, optionally extracting a single named element.
get_inlavaan_internal(object, what)
object |
An object of class INLAvaan. |
what |
Character. Name of the element to extract from the internal
list. If missing, the entire list is returned. Common elements include
|
The full inlavaan_internal list, or the named element when
what is supplied.
INLAvaan, diagnostics(), timing()
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,
test = "none", verbose = FALSE)
# Full internal object
int <- get_inlavaan_internal(fit)
names(int)
# Extract a specific element
get_inlavaan_internal(fit, "coefficients")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.