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.

Examples

dtt_adjust_units(60, to = "minutes")

[Package dttr2 version 0.3.0 Index]