draw_panel_function: Draw panel

Description Usage Arguments Value Examples

View source: R/geom_timeline.R

Description

This further modifies the provided data for mapping within geom_timeline

Usage

1
draw_panel_function(data, panel_scales, coord)

Arguments

data

the data.frame from the geom_timeline function call

panel_scales

the panel_scales

coord

the modified data.frame labeled by the parameters of aes()

Value

an object to be used in geom_timeline

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 March 18, 2018, 7:48 p.m.