Function adds an annotation to an earthquake timeline built with geom_timeline. Annotation shares some aes with geom_timeline. User is responsible for making sure values are the same between the two geoms. This function is used by geom_timeline_label rather than called directly. With more time, may look into implementing n_max as a stat rather than as an aes. Aes values are x (intended use:date), label (location name), n_max (an integer), max_aes(aes to apply n_max, magnitude), and y).
An object of class
GeomTimelineLabel (inherits from
ggproto) of length 5.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.