Description Usage Arguments Examples
View source: R/create_date_ranges.R
Build Groups of Dates by Difference
1 | group_dates_by_diff(dates, diff_days = 1)
|
dates |
vector of |
diff_days |
maximum difference between consecutive dates that may occur for dates within the same group |
1 2 | dates <- as.Date(c("2019-07-01", "2019-07-03", "2019-07-06", "2019-07-08"))
fhpredict:::group_dates_by_diff(dates, diff_days = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.