| rounddate | R Documentation |
Round a date to the nearest unit
rounddate(x, unit = c("day", "week", "month", "year"))
x |
An atomic vector. |
unit |
Time unit to round to. |
A Date vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.