Learn R Programming

stim (version 1.0.0)

lavaanEq: Create lavaan syntax based on the blueprint matrix

Description

Create lavaan syntax based on the blueprint matrix

Usage

lavaanEq(blueprint, S)

Value

A character vector which contains the lavaan syntax to specify the latent variables, variances, and covariances

Arguments

blueprint

A character matrix which specifies which effects to estimate and which effects to constrain to a non-zero value

S

Sample covariance matrix