Description Usage Arguments Details Examples
plot Timeline without labels
1 2 3 |
mapping |
mapping |
data |
data used to plot |
stat |
calculation that used to transform the data |
position |
relative position of the geoms |
na.rm |
NA remove |
show.legend |
whether show legend |
inherit.aes |
aes that inherit |
... |
other params to pass in |
x A date data that used to draw the timeline y denote each country size same as in ggplot2, used to show magnitude of earth quake
1 2 3 4 | ## Not run:
ggplot(plot_dat, aes(x = DATE,y = COUNTRY))+ geom_timeline(aes(fill = DEATHS, size = EQ_MAG_MS))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.