Last data update: 2014.03.03
|
R: Theme inspired by fivethirtyeight.com plots
theme_fivethirtyeight | R Documentation |
Theme inspired by fivethirtyeight.com plots
Description
Theme inspired by the plots on
http://fivethirtyeight.com.
Usage
theme_fivethirtyeight(base_size = 12, base_family = "sans")
Arguments
base_size |
base font size
|
base_family |
base font family
|
Examples
library("ggplot2")
p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, colour=factor(gear))) +
facet_wrap(~am) +
geom_smooth(method = "lm", se = FALSE) +
scale_color_fivethirtyeight() +
theme_fivethirtyeight()
Results
|