Description Usage Arguments Value Examples
The possible units values are 'seconds', 'minutes', 'hours', 'days', 'months' or 'years'.
1 | dtt_floored(x, units = dtt_units(x))
|
x |
A Date or POSIXct vector. |
units |
A string of the units to floor by. |
... |
Unused. |
A flag indicating whether floored.
1 | dtt_floored(Sys.time(), "hours")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.