thmcmahon / themeTom

Tom's default ggplot2 theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

themeTom

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

About

Tom's default ggplot2 theme


Languages

Language:R 100.0%