Learn R Programming

PathSelectMP (version 1.1)

AddOnAllInd: Indirect Effect Writer

Description

wrapper function for creating indirect effects from direct effects and function writes indirect effects to file

Usage

AddOnAllInd(FileName, IndStatements, Directry = getwd())

Arguments

FileName

name without path of mplus .inp and .out files to read and write which is the base filename such as "New"

IndStatements

the indirect statements to write created by AddOnINDStatements

Directry

the path where all of the .inp and .out files are located

Value

no value returned directly instead an extra .inp file is written and run with all IND effects

Details

No Details required.

References

No references

Examples

Run this code
# NOT RUN {
InitD=Simulate(MissingYN=0,exampleNum=3)
xxx=Initialize(InitD,NumImpute=0,WhichCat=c(1,1,1,1,1,0,1,0),PasteIND=0)
ggg=AllBackwardSelect(xxx[[1]])
zzz=AllSummary(xxx[[1]])[[2]]
qqq=AddOnAllInd(xxx[[1]],zzz)
# }

Run the code above in your browser using DataLab