Difftime utilities
As base::difftime()
vectors are used throughout ricu
, a set of wrapper
functions are exported for convenience of instantiation base::difftime()
vectors with given time units.
secs(x) mins(x) hours(x) days(x) weeks(x)
x |
Numeric vector to coerce to |
Vector valued time differences as difftime
object.
hours(1L) mins(NA_real_) secs(1:10) hours(numeric(0L))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.