Create Duration

dtt_duration(x, units = "seconds")

Arguments

x

An numeric vector of the duration.

units

A string of the time units.

Value

A dtt_duration object.

Examples

dtt_duration(60)
#> 60s (~1 minutes)