Convert lavaan output to RAM matrices
lavaan2ram(fitModel, digits = 2, zero.print = "0", ram.out = TRUE, fit = FALSE)
A matrix and its standard errors
S matrix and its standard errors
model fit
The lavaan input, the same as fitModel
A lavaan object generated by the function lavaan
, sem
, or growth
Digits for number print
Format zeros in the matrix
Whether print RAM matrices
Whether print fit statistics