ramReFit: Refit a model with additional paths

View source: R/lavaan2ram.R

ramReFitR Documentation

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

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

RAMpath documentation built on Aug. 27, 2023, 5:06 p.m.