date_trans {scales}R Documentation

Transformation for dates (class Date).

Description

Transformation for dates (class Date).

Usage

date_trans()

Examples

years <- seq(as.Date("1910/1/1"), as.Date("1999/1/1"), "years")
t <- date_trans()
t$transform(years)
t$inverse(t$transform(years))
t$format(t$breaks(range(years)))

[Package scales version 1.0.0 Index]