Learn R Programming

RAMpath (version 0.5.1)

lavaan2ram: Convert lavaan output to RAM matrices

Description

Convert lavaan output to RAM matrices

Usage

lavaan2ram(fitModel, digits = 2, zero.print = "0", ram.out = TRUE, fit = FALSE)

Value

A and Ase

A matrix and its standard errors

S and Sse

S matrix and its standard errors

fit

model fit

lavaan

The lavaan input, the same as fitModel

Arguments

fitModel

A lavaan object generated by the function lavaan, sem, or growth

digits

Digits for number print

zero.print

Format zeros in the matrix

ram.out

Whether print RAM matrices

fit

Whether print fit statistics