dtt_adjust_units {dttr2} | R Documentation |
Adjust Units
Description
Adjust Units
Usage
dtt_adjust_units(x, from = "seconds", to = "seconds")
Arguments
x |
An integer or numeric vector |
from |
A string of the original units. |
to |
A string of the new units. |
Value
A numeric vector.
See Also
Other units:
dtt_units_per_unit()
,
dtt_units()
Examples
dtt_adjust_units(60, to = "minutes")
[Package dttr2 version 0.5.0 Index]