View source: R/geom_timeline_label.R
geom_timeline_label()
adds annotations to the earthquake data.
The geom adds a vertical line to each data point with text annotation providing
the location of the earthquake. This is a function that builds a layer, based
on a Geom
specification. It takes the geom definition and the coordinate data together.
1 2 3 4 5 6 7 8 9 10 |
mapping |
Set of aesthetic mappings created by aes(). If specified and inherit.aes = TRUE (the default), it is combined with the default mapping at the top level of the plot. |
data |
The data to be displayed in this layer. |
stat |
The statistical transormation 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 |
If FALSE, missage values are removed with a warning. |
show.legend |
Should this layer be included, any aesthetics are mapped. |
inherit.aes |
If FALSE, overrides the default aesthetics, rather than combining them. |
... |
Other parameters to be included. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.