Learn R Programming

⚠️There's a newer version (0.5.1) of this package.Take me there.

RAMpath (version 0.4)

Structural Equation Modeling Using the Reticular Action Model (RAM) Notation

Description

We rewrite of RAMpath software developed by John McArdle and Steven Boker as an R package. In addition to performing regular SEM analysis through the R package lavaan, RAMpath has unique features. First, it can generate path diagrams according to a given model. Second, it can display path tracing rules through path diagrams and decompose total effects into their respective direct and indirect effects as well as decompose variance and covariance into individual bridges. Furthermore, RAMpath can fit dynamic system models automatically based on latent change scores and generate vector field plots based upon results obtained from a bivariate dynamic system. Starting version 0.4, RAMpath can conduct power analysis for both univariate and bivariate latent change score models.

Copy Link

Version

Install

install.packages('RAMpath')

Monthly Downloads

176

Version

0.4

License

GPL-2

Maintainer

Johnny Zhang

Last Published

October 5th, 2016

Functions in RAMpath (0.4)

makeSpanList

Make a list of spans
ramMatrix

Generate ram matrices based on ram input
ramParseLavaan

lavaan to ram
ramEffectSE

Sobel standard error for a given effect
ramPathBridge

Generate path and bridges
RAMpath-package

RAMpath for SEM analysis
ramIndex

To be added
ramRmOne

Internal function
ramFlip

Flip the ram path
ramReFit

Refit a model with additional paths
ram2lavaan

RAM model to lavaan model
ramShowModel

Show the model using Lavvan model syntax
summary.RAMpath

Calculate the total and individual contribution for each path and bridge
ramUniquePath

Get the uniques paths
ramVF

Generate a vector field plot based on the bivariate lcsm
makeBridgeList

Generate all bridges
powerBLCS

Power analysis for bivariate latent change score models
plot.RAMpath

Plot the path diagram according to RAM path and bridges or Plot the vector field for the bivariate latent change score model
isNumeric

Is the input a numeric variable
ex2

Example data set 2
ex3

Example data set 3
makePathList

Make a list of effects
ex1

Example data set 1
plot.lcs.power

Plot the power curve for each specified parameter
lavaan2ram

Convert lavaan output to RAM matrices
ramFit

Fit a model using lavaan based on ram input
ramBLCS

Conduct bivariate latent change score analysis
ramLCM

Conduct growth curve analysis
ramLCS

Univariate latent change score model
powerLCS

Power analysis for univariate latent change score models