View source: R/time_after_dose.R
time_after_first_dose | R Documentation |
time after the first dose
time_after_first_dose(.df, groups = "ID", .name = "TAFD",
.criteria = EVID %in% c(1, 4), .name_fn = NULL, .time = "TIME",
units = "hours", digits = 10)
.df |
dataframe |
groups |
grouping variables |
.name |
output column name |
.criteria |
a logical expression to identify relavent doses. Defaults to EVID equal 1 or 4 (dose records). |
.name_fn |
custom function for naming with formatting |
.time |
time column name, defaults to TIME |
units |
units time scale should be in, defaults to hours |
digits |
digits to round, defaults to 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.