estimate_lavaan {tidySEM} | R Documentation |
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
.
estimate_lavaan(x, func = "sem", ...)
x |
An object of class |
func |
The |
... |
Additional parameters passed to the estimating function. |
An object of class lavaan
.
library(lavaan) model <- tidy_sem(iris, "\\.") model <- measurement(model) res <- estimate_lavaan(model) summary(res)