stat_timeline: Corresponding function to prepare layer object for...

Description Usage Value Examples

Description

This is not necessary but prepared for complete functionality. It refers to geom_timeline() and StatTimeline class for plotting purpose. As it refers to geom_timeline(), it means the function can be used 'independent' of geom_timeline().

Usage

1
2
3
stat_timeline(mapping = NULL, data = NULL, geom = "timeline",
  position = "identity", na.rm = FALSE, xmin = NA, xmax = NA,
  show.legend = NA, inherit.aes = TRUE, ...)

Value

layer object for plotting purpose

Examples

1
2
3
4
## Not run: ggplot(data=selected) +
                    aes(x=DATE, y=COUNTRY) +
                    stat_timeline(xmin=xmin, xmax=xmax)
## End(Not run)

wingtham/NOAA documentation built on May 24, 2019, 3:51 p.m.