Description Usage Arguments Format Value Examples
View source: R/ggplotExtensions.R
GGplot function that creates a timeline graph of a group of earthquakes
1 2 3 4 5 6 7 8 9 10 11 12 | GeomTimeline
geom_timeline(
mapping = NULL,
data = NULL,
stat = "identity",
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
...
)
|
mapping |
ggplot aes parameter |
data |
input data - dataframe of NOAA earthquakes |
stat |
ggplot stat parameter |
position |
ggplot position parameter |
na.rm |
ggplot na.rm parameter |
show.legend |
ggplot show.legend parameter |
inherit.aes |
ggplot inherit.aes parameter |
... |
ggplot other parameters |
An object of class GeomTimeline
(inherits from Geom
, ggproto
, gg
) of length 5.
Draws a GGplot graph
1 | ## Not run: ggplot(inputData) + geom_timeline(aes(x=Date, colour=Deaths, n_max=5, size=Mag))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.