table_fit {tidySEM}R Documentation

Print model fit table formatted for publication

Description

Takes a model object, extracts model fit information, and formats it as a publication-ready table.

Usage

table_fit(x, ...)

Arguments

x

A model object for which a method exists.

...

Arguments passed to other functions.

Value

A data.frame of formatted results.

Author(s)

Caspar J. van Lissa

See Also

Other Reporting tools: conf_int(), est_sig(), table_prob(), table_results()

Examples

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)

[Package tidySEM version 0.2.7 Index]