View source: R/dynamic_proj_dates.R
dynamic_proj_dates | R Documentation |
Creates a vector of dates at regular intervals between two given dates.
dynamic_proj_dates(startdate, enddate, interval.level, interval)
startdate |
a character string, the start date in format "YYYY-MM-DD". |
enddate |
a character string, the end date in format "YYYY-MM-DD". |
interval.level |
a character string, the time-step of intervals. One of |
interval |
a numeric value, the length of interval in |
Function returns a vector of dates between start.date
and end.date
at given interval
size.
Vector of dates between start date and end date split at regular intervals.
dynamic_proj_dates(
startdate = "2000-01-01",
enddate = "2001-01-01",
interval.level = "month",
interval = 2
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.