dtt_adjust_units: Adjust Units

View source: R/units.R

dtt_adjust_unitsR 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

dtt_add_units()

dtt_subtract_units()

Other units: dtt_units(), dtt_units_per_unit()

Examples

dtt_adjust_units(60, to = "minutes")

dttr2 documentation built on Sept. 26, 2024, 1:06 a.m.