Examples for 'broom::tidy.lavaan'


Tidy a(n) lavaan object

Aliases: tidy.lavaan lavaan_tidiers sem_tidiers cfa_tidiers

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)) {

# load libraries for models and data
library(lavaan)

cfa.fit <- cfa("F =~ x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9",
  data = HolzingerSwineford1939, group = "school"
)

tidy(cfa.fit)

}

[Package broom version 0.8.0 Index]