Description Usage Arguments Value Examples
Generate dates given timepoint indices, start date and step unit
1 | generate_dates(timepoints, start, unit)
|
timepoints |
Integer vector timepoint indices |
start |
Date of index 1 |
unit |
"year" "month" or "day" |
A vector of dates the same length as timepoints
1 2 3 | # Dates from Tokars (2018)
timepoints <- 1L:304L
dates <- generate_dates(timepoints, lubridate::ymd("2017-08-01"), "day")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.