umxRAM2Lav: Convert a RAM model to a lavaan string

View source: R/lavanify2ram.R

umxRAM2LavR Documentation

Convert a RAM model to a lavaan string

Description

Takes an OpenMx RAM model and creates the corresponding lavaan syntax string.

This function is at the alpha quality stage, and should be expected to have bugs. Also likely to change functionality and even parameters as new features are supported (e.g. groups) and lavaan-style strings exported. Several features are not yet supported. Let me know if you would like them.

Usage

umxRAM2Lav(model)

Arguments

model

an OpenMx RAM model

Value

A lavaan syntax string, e.g. "A~~B"

See Also

  • umxLav2RAM(), umxRAM()

Other Miscellaneous Utility Functions: install.OpenMx(), libs(), qm(), umx, umxLav2RAM(), umxModelNames(), umxVersion(), umx_ICA_report(), umx_array_shift(), umx_data(), umx_find_object(), umx_lower.tri(), umx_msg(), umx_open_CRAN_page(), umx_pad(), umx_print(), umx_tail(), umx_wide2long(), umx_wide4lmer()

Examples

## Not run: 
umxRAM2Lav(umxLav2RAM("x ~ y", autoRun = FALSE, printTab = FALSE, lavaanMode = "lavaan"))

## End(Not run)

umx documentation built on Oct. 11, 2026, 5:07 p.m.