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_array_shift(), umx_find_object(), umx_lower.tri(), umx_msg(), umx_open_CRAN_page(), umx_pad(), umx_print()

Examples

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

## End(Not run)

tbates/umx documentation built on Dec. 14, 2024, 11:28 a.m.