Learn R Programming

dttr2 (version 0.5.2)

dtt_adjust_units: Adjust Units

Description

Adjust Units

Usage

dtt_adjust_units(x, from = "seconds", to = "seconds")

Value

A numeric vector.

Arguments

x

An integer or numeric vector

from

A string of the original units.

to

A string of the new units.

See Also

dtt_add_units()

dtt_subtract_units()

Other units: dtt_units(), dtt_units_per_unit()

Examples

Run this code
dtt_adjust_units(60, to = "minutes")

Run the code above in your browser using DataLab