geom_timeLine: Geom to plot earthquakes by date and magnitude

Description Usage Arguments Value Examples

Description

This Geom uses ggplot2 package.

Usage

1
geom_timeline(data, xmindate, xmaxdate, country)

Arguments

data

Tidy earthquake data, as dataframe

xmindate

Minimum Date to plot

xmaxdate

Maximum Date to plot

country

Character vector of Country/Countries to plot

Value

Returns ggplot

Examples

1
2
3
4
5
6
7
## Not run: 
geom_timeline(data = eq_clean_data('signif.txt'),
              xmindate = "2001-01-01",
              xmaxdate = "2017-12-31",
              country = c("MEXICO"))

## End(Not run)

itjmt96/Earthquakes documentation built on May 18, 2019, 5:52 a.m.