time_trans: Transformation for date-times (class POSIXt).

Description Usage Arguments Examples

View source: R/trans-date.r

Description

Transformation for date-times (class POSIXt).

Usage

1

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

1
2
3
4
5
hours <- seq(ISOdate(2000,3,20, tz = ""), by = "hour", length.out = 10)
t <- time_trans()
t$transform(hours)
t$inverse(t$transform(hours))
t$format(t$breaks(range(hours)))

scales documentation built on Aug. 10, 2018, 1:17 a.m.