secs {ricu}R Documentation

Utilities for difftime

Description

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.

Usage

secs(...)

mins(...)

hours(...)

days(...)

weeks(...)

Arguments

...

Numeric vector to coerce to base::difftime()

Value

Vector valued time differences as difftime object.

Examples

hours(1L)
mins(NA_real_)
secs(1:10)
hours(numeric(0L))


[Package ricu version 0.5.6 Index]