Description Usage Arguments Value Examples
This function uses GeomTimeline Prototype for plotting a timeline with the earthquakes of a given country
1 2 3 4 5 6 7 8 9 10 |
mapping |
Mapping |
data |
Data |
stat |
Stat |
position |
Position |
na.rm |
na.rm |
show.legend |
Show legend |
inherit.aes |
Inherit aes |
... |
other arguments |
A timeline with all earthquakes between a set of dates for a set of countries.
1 2 3 4 5 6 7 | ## Not run:
eq_location_clean(eq_clean_data(raw_data)) %>%
dplyr::filter(datetime >= "1960-01-01" & datetime <="2011-01-01" & COUNTRY == c("CHILE","USA"))%>%
ggplot() +
geom_timeline(aes(x = datetime, size = EQ_MAG_ML, colour = DEATHS, fill = DEATHS))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.