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