View source: R/results-table_fit.R
table_fit | R Documentation |
Takes a model object, extracts model fit information, and formats it as a publication-ready table.
table_fit(x, ...)
x |
A model object for which a method exists. |
... |
Arguments passed to other functions. |
A data.frame of formatted results.
Caspar J. van Lissa
Other Reporting tools:
conf_int()
,
est_sig()
,
table_prob()
,
table_results()
library(lavaan)
HS.model <- ' visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9 '
fit <- cfa(HS.model,
data = HolzingerSwineford1939,
group = "school")
table_fit(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.