Description Usage Arguments Details
View source: R/round_POSIXct.R
Round POSIXct timestamps
1 2 3 4 5 6 | round_POSIXct(x, n = 1, units = c("secs", "mins", "hours", "days"),
method = round)
ceiling_POSIXct(x, n = 1, units = c("secs", "mins", "hours", "days"))
trunc_POSIXct(x, n = 1, units = c("secs", "mins", "hours", "days"))
|
x |
POSIXct vector |
n |
number of units to round off |
units |
to round off to |
method |
round method, see Round |
Rounds POSIXct vector with specified method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.