estimate_lavaan {tidySEM} | R Documentation |
Estimate tidy_sem using 'lavaan'
Description
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
.
Usage
estimate_lavaan(x, func = "sem", ...)
Arguments
x |
An object of class |
func |
The |
... |
Additional parameters passed to the estimating function. |
Value
An object of class lavaan
.
Examples
library(lavaan)
model <- tidy_sem(iris, "\\.")
model <- measurement(model)
res <- estimate_lavaan(model)
summary(res)
[Package tidySEM version 0.2.7 Index]