Learn R Programming

PathSelectMP (version 1.1)

CreateSummaryMats: Extract and Summarize Direct Effects

Description

helper function for AllSummary2 and not necessary for regular user

Usage

CreateSummaryMats(FileName, OutputSE = FALSE, OutputPVal = FALSE, 
Directry, OutputFinalMat = TRUE)

Arguments

FileName

string which is the name of the folder where the .inp and .out files are stored

OutputSE

TRUE outputs standard error dataframe and FALSE does not output standard error dataframe

OutputPVal

TRUE outputs p-value dataframe and FALSE does not p-value dataframe

Directry

this the path where the folder specified by AllNames is located and default is working directory

OutputFinalMat

a input value of 1 returns matrix and value of 0 returns a list

Value

summaries of direct effects

Details

helper function

References

M Plus

See Also

AllSummary2

Examples

Run this code
# NOT RUN {
InitD=Simulate(MissingYN=1)
xxx=Initialize(InitD,NumImpute=3,WhichCat=c(1,1,1,1,0))
ggg=AllBackwardSelect(xxx[[1]])
LL1=lapply(xxx[[1]],CreateSummaryMats,OutputSE=FALSE,
OutputPVal=FALSE,Directry=getwd(),OutputFinalMat=1)
# }

Run the code above in your browser using DataLab