StatTimeline: Timeline Stat

Description Usage Format Value Examples

Description

This stat prepares data for mapping by geom_timeline by subsetting the data to the user-provided minimum and maximum dates

Usage

1

Format

An object of class StatTimeline (inherits from Stat, ggproto) of length 3.

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