Examples for 'broom::glance.lavaan'


Glance at a(n) lavaan object

Aliases: glance.lavaan

Keywords:

### ** Examples


# feel free to ignore the following line—it allows {broom} to supply 
# examples without requiring the model-supplying package to be installed.
if (requireNamespace("lavaan", quietly = TRUE)) {

library(lavaan)

# fit model
cfa.fit <- cfa(
  "F =~ x1 + x2 + x3 + x4 + x5",
  data = HolzingerSwineford1939, group = "school"
)

# summarize model fit with tidiers
glance(cfa.fit)

}

[Package broom version 0.8.0 Index]