themeTom

July 18, 2017 ยท View on GitHub

Tom's default ggplot2 theme

This is an r package to save me repeatedly specifying theme defaults.

Example

devtools::install_github('thmcmahon/themeTom')
library(themeTom)
library(tidyverse)

mtcars %>%
  ggplot(aes(hp, mpg)) +
  facet_wrap(~ as.factor(cyl)) +
  geom_point(shape = 1) +
  theme_tom() +
  labs(title = "mtcars plot of miles per gallon by horsepower")

example graph