Last chance! 50% off unlimited learning
Sale ends in
Theme inspired by the plots on http://fivethirtyeight.com.
theme_fivethirtyeight(base_size = 12, base_family = "sans")
base font size
base font family
# NOT RUN {
library("ggplot2")
p <- ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
geom_point() +
facet_wrap(~am) +
geom_smooth(method = "lm", se = FALSE) +
scale_color_fivethirtyeight() +
theme_fivethirtyeight()
p
# }
Run the code above in your browser using DataLab