Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 748 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 748 Bytes

jptheme

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")