AddOnINDStatements: Indirect Effect List Creator

Description Usage Arguments Details Value Note Author(s) References Examples

View source: R/AddOnINDStatements.R

Description

Creates list of all indirect effects

Usage

1
AddOnINDStatements(MeanDirectList, PasteIND)

Arguments

MeanDirectList

Matrix with direct effects or the initialize matrix with 1s designating paths used in analysis

PasteIND

a value of 1 indicates to use all possible indirect effects in modelling and a value of 0 is input to only use direct effects in modelling

Details

This function is a helper function and is not necessary for the regular user. The user is instead referred to AddOnAllInd

Value

INDlist

each element is a list which is an "IND" statment

Note

when PasteIND=0 IND statements are created in the .inp files but only for direct effects

Author(s)

William Terry

References

No references

Examples

1
2
3
InitD=Simulate(n=1000)
InputInitializeMat=CreateInitializeMatrix(InitD,WhichCat=c(1,1,1,1,0))
IndList=AddOnINDStatements(InputInitializeMat,PasteIND=1)

PathSelectMP documentation built on May 2, 2019, 3:15 a.m.