Description Usage Arguments Value Examples
Get_regimen returns the eligible drugs in a line treatment regimen (mono or combo therapy), defined as drugs within a window relative to the first episode.
1 | get_regimen(df, r_window)
|
df |
a claims dataframe with PATIENT_ID ,MED_NAME, MED_START, MED_END columns. |
r_window |
threshold number of days for the regimen defining window |
a vector of strings
1 | get_regimen(df = test_tmp_data, r_window = 28)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.