geom_timeline: Corresponding function to GeomTimeline

Description Usage Value Examples

Description

The function is used with ggplot2 to produce plot for the earthquake data. For input arguments, please refer to geom_point for further details.

Usage

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

Value

layer object for plotting purpose

Examples

1
2
3
4
5
## Not run: ggplot(data = selected) +
   aes(x=DATE, colour = TOTAL_DEATHS,
   size = EQ_PRIMARY) +
   geom_timeline(xmin=xmin, xmax=xmax) 
## End(Not run)

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