Description Usage Arguments Details Examples
Using new geom class we can plot the timelines
1 2 3 |
mapping |
Set of aesthetic mappings created by aes() or aes_() |
data |
The data to be displayed in this layer |
stat |
The statistical transformation to use on the data for this layer, as a string |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function |
na.rm |
Parameter to be passed to stat and geom |
show.legend |
(logical) Should this layer be included in the legends? NA includes if any aes are mapped |
inherit.aes |
If FALSE, overrides the default aesthetics, rather than combining with them |
... |
Other possible arguments |
Ne ne ne
1 2 3 4 5 6 7 8 | ## Not run:
ggplot(noaa_df, aes(x = DATE, y = COUNTRY,
color = as.numeric(TOTAL_DEATHS),
size = as.numeric(EQ_PRIMARY),
label = LOCATION_NAME)) +
geom_timeline()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.