Coordinates and Positions for Chronological Objects
chron_trans
is a ggplot2 transformer for chron
.
scale_x_chron
and scale_y_chron
are ggplot2 scales.
chron_trans(format = "%Y-%m-%d", n = 5) scale_x_chron(..., format = "%Y-%m-%d", n = 5) scale_y_chron(..., format = "%Y-%m-%d", n = 5)
format |
format string as described in |
n |
Approximate number of axis ticks. |
... |
Passed to |
if(require("ggplot2")) { dd <- data.frame(tt = chron(1:10), value = 101:110) p <- ggplot(dd, aes(tt, value)) + geom_point() + scale_x_chron(format = "%m-%d") print(p) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.