eq_geom_timeline: eq_geom_timeline

Description Usage Arguments Value Examples

Description

A wrapper function to simplify use of geom_timeline

Usage

1
2
eq_geom_timeline(df, nmin = 1, nmax = lubridate::year(Sys.Date()),
  countries = "")

Arguments

df

A data table containing NOAA Earthquake processed

nmin

minimum year as numeric

nmax

maximum year as numeric

countries

Vector of countries to filter

Value

A ggplot2 graphical object displaying timeline of earthquakes data

Examples

1
2
3
4
5
## Not run: 
eq_geom_timeline(df)
eq_geom_timeline(df,nmin=2000,nmax=2015, countries=c("USA","IRAN"))

## End(Not run)

Grandez/earthquake documentation built on May 28, 2019, 12:39 p.m.