Convert the date vector into a numeric vector, then apply cut
,
and rename the levels of the factor to reflect the date ranges included.
1 | cutdate(dates, breaks)
|
dates |
Vector of dates |
breaks |
Number of date ranges to split into |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.