time_trans {scales}R Documentation

Transformation for times (class POSIXt).

Description

Transformation for times (class POSIXt).

Usage

  time_trans(tz = NULL)

Arguments

tz

Optionally supply the time zone. If NULL, the default, the time zone will be extracted from first input with a non-null tz.

Examples

hours <- seq(ISOdate(2000,3,20, tz = ""), by = "hour", length.out = 10)
t <- time_trans()
t$trans(hours)
t$inv(t$trans(hours))
t$format(t$breaks(range(hours)))

[Package scales version 0.2.3 Index]