theme_timeline: Theme for better timeline visualization in ggplot2

Description Usage Examples

Description

This is a simple theme that makes geom_timeline look better.

Usage

1

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
getData() %>% eq_clean_data() %>%
filter(COUNTRY %in% c("USA"), YEAR > 2010) %>%
 ggplot(aes(x = DATE, y = COUNTRY, color = as.numeric(TOTAL_DEATHS),
  size = as.numeric(EQ_PRIMARY))) +
 geom_timeline() + theme_timeline() +
 labs(size = "Richter scale value", color = "# deaths")

## End(Not run)

EAVWing/SigEarthquakes documentation built on May 27, 2019, 3:29 p.m.