Skip to content

katherine-taylor/kaththemes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kaththemes

This is a custom ggplot2 theme for Katherine Taylor. I turned it into a package to also learn how to make a package.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("katherine-taylor/kaththemes")

Example

This is a basic plot example.

library(kaththemes)
library(ggplot2)
library(systemfonts)
mtcars |> 
  ggplot(aes(x = mpg, y = disp, color = as.factor(carb))) +
  geom_point() +
  theme_kath() +
  scale_color_manual(values = kath_pal(n = 6)) +
  labs(title = "Testing Katherine plotting theme",
       subtitle = "This is a subtitle",
       caption = "Classic mtcars data from base R")

About

Custom ggplot2 themes for Katherine Taylor

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages