Learn R Programming

RAMpath (version 0.5.1)

ramReFit: Refit a model with additional paths

Description

Generate a vector field plot based on the bivariate lcsm

Usage

ramReFit(object, add, ram.out=FALSE, ...)

Arguments

object

Output from any data analysis

add

Additional paths to be added, e.g., add='X1~~X2'.

ram.out

Whether to print the RAM matrices

...

Options for plot and arrows function.

Examples

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

Run the code above in your browser using DataLab