blueprint: Creates a character matrix which specifies which effects to...

View source: R/blueprint.R

blueprintR Documentation

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

Description

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

Usage

blueprint(effects, use)

Arguments

effects

A data frame that contains information on which cross-lagged effects to estimate or constrain to a value other than zero. Each row represents one effect. The effects object must have four columns: column 1 has the variable names for the predictors, column 2 has the variable names for the outcomes, column 3 has the names of the estimated effect or the value an unestimated effect should be constrained to, and column 4 has information on whether the effect should be estimated. This table can be created by using the effectTable function

use

A vector with the variable names that will be used in the stability-informed model

Value

   A character matrix

stim documentation built on Jan. 23, 2023, 5:33 p.m.