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