Convert Time Values Using Scaling Factors
Usage
get_time_as(times, as = NULL)
Arguments
- times
Numeric time values
- as
A time scale to convert to. One of "days", "weeks", "months", "years"
Value
Returns a numeric vector calculated from times / get_time_conversion(factor = as)
Examples
get_time_as(50, as = "months")
#> months
#> 1.64271