Description Usage Format Examples
Here will be the usage of two functions, required to create custom geom: ggplot2:ggproto and geom_* (in this case geom_hurricane) in order to create new geom_timeline, which shows magnitude and year of hurricane occured
1 |
An object of class GeomTimeline
(inherits from Geom
, ggproto
) of length 7.
1 2 3 4 5 6 | ## Not run: ggplot2::layer(
geom = GeomTimeline, mapping = mapping,
data = data, stat = stat, position = position,
show.legend = show.legend, inherit.aes = inherit.aes,
params = list(na.rm = na.rm, ...))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.