Description Usage Arguments Value
View source: R/new_enrollee_initial_features.R
Make ATC Indicators
1 | make_class_indicators(DT, DT_id, id_vars, xwalk)
|
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 |
xwalk |
data.table with columns lab_prod as well as any indicators (usually atc1-4 or rxcui) |
data.table of atc indicators at the level of DT_id
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.