Skip to contents

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.

Examples

dtt_adjust_units(60, to = "minutes")
#> [1] 1