Description Usage Arguments Value Examples
A wrapper function to simplify use of geom_timeline
1 2 | eq_geom_timeline(df, nmin = 1, nmax = lubridate::year(Sys.Date()),
countries = "")
|
df |
A data table containing NOAA Earthquake processed |
nmin |
minimum year as numeric |
nmax |
maximum year as numeric |
countries |
Vector of countries to filter |
A ggplot2 graphical object displaying timeline of earthquakes data
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.