Description Usage Arguments Value
View source: R/new_enrollee_initial_features.R
Create Initial ATC Indicators (New Enrollees)
1 | indicate_initial_atc(DT, DT_id, id_vars, atc_ind, initial_days)
|
DT |
data.table with all elements of id_vars as well as lab_prod |
DT_id |
data.table data.table with all elements of id_vars |
id_vars |
character vector, names of variables to aggregate on |
atc_ind |
data.table, lab_prod to atc indicator xwalk |
initial_days |
integer, maximum number of days to use from enrollment |
data.table with atc class indicators from from enrollment through initial days
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.