theme_timeline: A theme for styling 'geom_timeline' plots

Description Usage Examples

View source: R/geom.R

Description

A theme for styling geom_timeline plots.

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
data %>% eq_clean_data() %>%
filter(COUNTRY %in% c("USA", "CHINA"), YEAR > 2000) %>%
   ggplot(aes(x = DATE,
              y = COUNTRY,
              color = as.numeric(TOTAL_DEATHS),
              size = as.numeric(EQ_PRIMARY)
   )) +
   geom_timeline() +
   theme_timeline()

## End(Not run)

blauwers/rEarthQuakes documentation built on May 7, 2019, 2:54 a.m.