Learn R Programming

RAMpath (version 0.4)

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. (2013). Using R Package RAMpath for Tracing SEM Path Diagrams and Conducting Complex Longitudinal Data Analysis. Structural Equation Modeling.

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