clpm: clpm

Description Usage Arguments Value

View source: R/gen_syntax.R

Description

Create model text specifying the cross-lag panel model portion of the RI-CLPM, including all autoregressive and cross-lag effects. Set constrain to TRUE to constrain these to be equal across all waves.

Usage

1
clpm(lat_resid_vars, constrain = TRUE)

Arguments

lat_resid_vars

A list of vectors of variable names of the latent residual variables. Each element should be a vector of variable names that corresponds to the same construct measured repeatedly over waves.

constrain

Constrain the path coefficiecients to be the same from wave-to-wave?

Value

Model text specifying the CLPM portion of the model.


jflournoy/riclpmr documentation built on Dec. 15, 2020, 5 a.m.