eq_geom_timeline_label: eq_geom_timeline_label

Description Usage Arguments Value Examples

Description

A wrapper function to simplify use of geom_timeline

Usage

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

Arguments

df

A data table containing NOAA Earthquake processed

nmin

minimum year as numeric

nmax

maximum year as numeric

n_max

Integer value to control number of labels per group to show

countries

Vector of countries to filter

Value

A ggplot2 graphical object displaying timeline of earthquakes data

Examples

1
2
3
4
## Not run: 
eq_geom_timeline_label(df, n_max=5, xmin=2000, xmax=2015, countries=c("USA","CHINA"))

## End(Not run)

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