lubridate (version 0.1)

standardise_difftime_names: Internal function.

Description

Internal function. Matches input with recognized difftime unit names (i.e. "secs", "mins", "hours", "days", and "weeks").

Usage

standardise_difftime_names(x)

Arguments

Examples

Run this code
standardise_difftime_names(c("seconds", "minute"))
# "secs" "mins"}

Run the code above in your browser using DataCamp Workspace