ConvertData2: Converts Necessary Inputs for 'CalculatRiskRatios'

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

View source: R/ConvertData2.R

Description

converts inputs to list structure

Usage

1
ConvertData2(List1, List2, jjlist1)

Arguments

List1

list of strings where each string is the name of the folder for each imputed backward selection or just one name if no imputation

List2

list of strings here each string is the name of the .dat file (without .dat in string) for the imputed data set or just one .dat file name if no imputation

jjlist1

list of dataframes where each dataframe is the direct effects dataframe from backward selection with the imputed dataset which is only a list of length 1 with one matrix of direct effects if no imputations

Details

follow example and in future versions a wrapper function will be written

Value

list of length number of imputed data sets (length 1 if no imputations) containing three elements in each list. The first element is the name of the imputed selection folder contained in List1, the second element is the name of the dataset contained in List2, and the 3rd element is the dataframe of direct effects in jjlist1

Note

no notes

Author(s)

William Terry

References

No references

See Also

CalculatRiskRatios

Examples

1
2
3
4
5
6
7
8
9
## 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]])
AllDat1=ConvertData2(xxx[[1]],xxx[[2]],yyy[[1]])

## End(Not run)

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