R/units.R
dtt_adjust_units.Rd
Adjust Units
dtt_adjust_units(x, from = "seconds", to = "seconds")
An integer or numeric vector
A string of the original units.
A string of the new units.
A numeric vector.
dtt_add_units()
dtt_subtract_units()
Other units: dtt_units(), dtt_units_per_unit()
dtt_units()
dtt_units_per_unit()
dtt_adjust_units(60, to = "minutes") #> [1] 1