Learn R Programming

stim (version 1.0.0)

symbMatrix: Create a symbolic covariance matrix

Description

Create a symbolic covariance matrix

Usage

symbMatrix(blueprint, residualcov)

Value

A list of character matrices: A symbolic covariance matrix and a symbolic psi matrix

Arguments

blueprint

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

residualcov

A list with both the lavaan syntax for the residual covariance and a dataframe with the variable names