Description Usage Arguments Examples
This geom is intended to be used in conjunction with a geom_timeline layer to provide additional annotations to a timeline of earthquakes
1 2 3 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
na.rm |
If false a warning is given when missing values are removed |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
n_max |
Number of points to annotate |
... |
Other arguments passed to layer function |
1 2 3 4 5 6 7 8 9 | ## Not run:
quakes_df %>%
ggplot(aes(x=DATE,size=EQ_PRIMARY,y=COUNTRY, color=DEATHS, label=LOCATION_NAME))+
geom_timeline()+
geom_timeline_label()+
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.