Skip to content

Transformation for times (class hms)

Usage

hms_trans()

Examples

if (require("hms")) {
  hms <- round(runif(10) * 86400)
  t <- hms_trans()
  t$transform(hms)
  t$inverse(t$transform(hms))
  t$breaks(hms)
}
#> Loading required package: hms
#> 00:00:00
#> 04:00:00
#> 08:00:00
#> 12:00:00
#> 16:00:00
#> 20:00:00
#> 24:00:00