View source: R/time_after_dose.R
time_of_first_dose | R Documentation |
Time of the first dose
time_of_first_dose(.df, .name = "FDDTTM", .criteria = EVID %in% c(1,
4), .time = "TIME")
.df |
dataframe |
.name |
output column name as a string |
.criteria |
An expression that identifies valid dose records |
.time |
time column name, as a string. Defaults to TIME |
This functions operates on the entire dataframe given by .df and finds the first time specified in .time that matches the expression passed in .critera (by default it looks for EVID 1 or 4). The value is returned in a newly created column specified by .name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.