PrepareDataSetsForModel {hivPlatform} | R Documentation |
Prepares data sets for HIV Model
PrepareDataSetsForModel(dt, splitBy = NULL, strata = NULL, listIndex = 0)
dt |
Input data set as data.table object. Required. |
splitBy |
Name of column with values to be used for separation of data sets. Optional.
Default = |
strata |
Character vector of strata names. Optional. Default = |
listIndex |
Index in the output list to use if 'splitBy' columns does not exist in the input data set and cannot be used for indexing output data set. If NULL then output file set is not indexed and returned directly. Optional. Default = 0. |
List of HIV models
## Not run: PrepareDataSetsForModel(dt, splitBy = 'Imputation', strata = 'Transmission') ## End(Not run)