powered by
This function is a wrapper for the lavaan estimating functions. By default, the wrapper uses sem, but users can also specify lavaan, cfa, or growth.
lavaan
sem
cfa
growth
estimate_lavaan(x, func = "sem", ...)
An object of class lavaan.
An object of class tidy_sem.
tidy_sem
The lavaan modeling function to invoke, Default: 'sem'.
Additional parameters passed to the estimating function.
library(lavaan) model <- tidy_sem(iris, "\\.") model <- measurement(model) res <- estimate_lavaan(model) summary(res)
Run the code above in your browser using DataLab