Learn R Programming

RAMpath (version 0.5.1)

ramShowModel: Show the model using Lavvan model syntax

Description

Show the model using Lavvan model syntax

Usage

ramShowModel(object)

Arguments

object

Output from any data analysis

References

Yves Rosseel (2012). lavaan: An R Package for Structural Equation Modeling. Journal of Statistical Software, 48(2), 1-36. URL http://www.jstatsoft.org/v48/i02/.

Zhang, Z., Hamagami, F., Grimm, K. J., & McArdle, J. J. (2015). Using R package RAMpath for tracing SEM path diagrams and conducting complex longitudinal data analysis. Structural Equation Modeling, 22(1), 132-147. https://doi.org/10.1080/10705511.2014.935257

Examples

Run this code
data(ex3)
gcm.l<-ramLCM(ex3, 1:6, model='linear', ram.out=TRUE)
## Add correlated errors
ramShowModel(gcm.l)

Run the code above in your browser using DataLab