PrepareDataSetsForModel {hivEstimatesAccuracy} | R Documentation

## PrepareDataSetsForModel

### Description

Prepares data sets for HIV Model

### Usage

    PrepareDataSetsForModel(dt, splitBy = NULL, strata = NULL, listIndex = 0)

### Arguments

`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 = `NULL`
`strata` | Character vector of strata names. Optional. Default = `NULL`
`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.

### Value

List of HIV models

### Examples

    ## Not run:
      PrepareDataSetsForModel(dt, splitBy = 'Imputation', strata = 'Transmission')

    ## End(Not run)

[Package hivEstimatesAccuracy version 1.10.0 Index]