jptheme

December 8, 2021 ยท View on GitHub

jptheme provides functions to style ggplot2 charts for the Apricitas blog by Joey Politano.

Installation

You can install the development version of jptheme from GitHub with:

# install.packages("devtools")
devtools::install_github("mattcowgill/jptheme")

Example

This is a basic example:

library(jptheme)
library(ggplot2)

ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  theme_apricitas() +
  labs(title = "This is a title",
       subtitle = "This is a subtitle",
       caption = "This is a caption")