Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/CreateTotalSummary.R
this is a helper function for AllTotEffOutput
which is better for the regular user
1 | CreateTotalSummary(AllTots, GreaterThanNum)
|
AllTots |
is output from |
GreaterThanNum |
number of output files containing path over which to average which must be less than the number of imputations and is only used if multiple imputations are performed. |
not necessary for regular user
output is same as AllTotalEffOutput
which is easier to run
must run backwards selection first and some other necessary functions see example
William Terry
M Plus
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
InitD=Simulate(MissingYN=1)
xxx=Initialize(InitD,NumImpute=3,WhichCat=c(1,1,1,1,0))
ggg=AllBackwardSelect(xxx[[1]])
yyy=AllSummary2(xxx[[1]])
zzz=AllSummary(xxx[[1]])[[2]]
qqq=AddOnAllInd(xxx[[1]],zzz)
AllDat1=ConvertData2(xxx[[1]],xxx[[2]],yyy[[1]])
AllFileNames1=sapply(AllDat1,OnlyNumberElement,1)
Tots1=lapply(AllFileNames1,CreateTotalEffMat,Directry=getwd())
AllTotEffOutput1=CreateTotalSummary(Tots1,GreaterThanNum=0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.