stat_timeline: stat_timeline

Description Usage Arguments Value Examples

Description

This is the actual stat that prepares data for mapping by geom_timeline

Usage

1
2
3
stat_timeline(mapping = NULL, data = NULL, geom = "timeline",
  position = "identity", na.rm = FALSE, show.legend = NA,
  inherit.aes = TRUE, ...)

Arguments

mapping

NULL

data

NULL

geom

polygon

position

identity

na.rm

FALSE

show.legend

NA

inherit.aes

TRUE

...

any other arguments passed to stat_timeline

Value

a stat

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
ggplot(clean_earthquake_data, aes(
x = date,
y = COUNTRY,
color = TOTAL_DEATHS,
size = EQ_PRIMARY
),
n_max = 10) +
geom_timeline()

## End(Not run)

codyschulz/earthquakeMap documentation built on May 25, 2019, 4:20 p.m.