Learn R Programming

PathSelectMP (version 1.1)

AddOnINDStatements: Indirect Effect List Creator

Description

Creates list of all indirect effects

Usage

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

Value

INDlist

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

Details

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

References

No references

Examples

Run this code
# NOT RUN {
InitD=Simulate(n=1000)
InputInitializeMat=CreateInitializeMatrix(InitD,WhichCat=c(1,1,1,1,0))
IndList=AddOnINDStatements(InputInitializeMat,PasteIND=1)

# }

Run the code above in your browser using DataLab