theme_rb: Add redbull theme to ggplot chart

Description Usage Examples

Description

This function allows you to add the redbull theme to your ggplot graphics.

Usage

1
2
theme_rb(base_size = 11, base_family = "",
  base_line_size = base_size/22, base_rect_size = base_size/22)

Examples

1
2
3
4
line <- ggplot(line_df, aes(x = year, y = lifeExp)) +
geom_line(colour = "#007f7f", size = 1) +
geom_hline(yintercept = 0, size = 1, colour="#333333") +
theme_rb()

deathbydata/redbull documentation built on May 23, 2019, 9:49 a.m.