tidy_lavaan: Create a tidy results dataframe from a fitted lavaan object

Description Usage Arguments Value Examples

Description

This function returns a formatted, tidy dataframe from a fitted lavaan object. The object assumes at least one latent variable measured with reflective indicators, although can be a simple CFA with no structural components. There is also the abilty to include an indirect effect if testing mediation. Note the model type codes used internally to specify the type of model object. Structural parameters: 1 Measurement parameters: 2 Indirect effect parameters: 3 Covariance parameters: 4 Model fit parameters: 5

Usage

1
tidy_lavaan(x, stdest = FALSE, ...)

Arguments

x

fitted lavaan object

stdest

Do you want standardized estimates? Defaults to FALSE.

Value

dataframe

Examples

1
2
tidy_lavaan()
tidy_lavaan(x, stdest = TRUE)

drbanderson/lavaanTable documentation built on May 5, 2019, 2:42 a.m.