lav_summary | R Documentation |
This is just a quick way to get lavaan
's summary instead
the more terse summary designed for dpm
objects.
lav_summary(x, ...)
x |
The |
... |
Other arguments to the lavaan function. |
Returns a lavaan.summary
object which contains various
model data described in ?lavaan::summary,lavaan-method
.
# Load example data
data("WageData", package = "panelr")
# Convert data to panel_data format for ease of use
wages <- panel_data(WageData, id = id, wave = t)
fit <- dpm(wks ~ pre(lag(union)) + lag(lwage) | ed, data = wages)
lav_summary(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.