View source: R/time_after_dose.R
relative_time | R Documentation |
relative time such that first record is at time 0
relative_time(.df, groups = "ID", .name = "RTIME", .name_fn = NULL,
.time = "TIME", units = "hours", digits = 10)
.df |
dataframe |
groups |
grouping variables |
.name |
output column name |
.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.