powered by
Round POSIXct timestamps
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"))
ceiling_POSIXct(x, n = 1, units = c("secs", "mins", "hours", "days"))
trunc_POSIXct(x, n = 1, units = c("secs", "mins", "hours", "days"))
POSIXct vector
number of units to round off
to round off to
round method, see Round
Rounds POSIXct vector with specified method.