GeomTimeline: Draw earthquake timeline

Description Usage Format

Description

Function draws an earthquake timeline using a dataframe cleaned with eq_clean_data. This function is used by geom_timeline rather than called directly. In the interest of citing one's sources, most of the point implementation is recycling code from ggplot2's geom_point. aes values are x (intended use:date), y, size, and colour. Other aes are available, but the user shouldn't change defaults. They're only there becasue hard-coding them in resulted in errors.

Usage

1

Format

An object of class GeomTimeline (inherits from Geom, ggproto) of length 5.


khailper/swdevcapstone documentation built on May 20, 2019, 9:22 a.m.