The goal of this package is to enhance the consistency of our graphics across the company
Installation
You can install the development version of statThemes from GitHub with:
# install.packages("devtools")
devtools::install_github("STATWORX/statThemes")
Example
This is a basic example which shows you how to solve a common problem:
library(statThemes)
#> Lade nötiges Paket: ggplot2
col_list <- c("#0000BF", "#9BAEC1", "#9999FF")
ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Species)) +
geom_point(size = 2) + labs(title = "Lorem ipsum",
subtitle = "Consetetur Sadipscing Elitr") +
scale_color_statworx(palette = "custom", col_list = col_list) + statworx_classic()
Gallery
This gallery not only contains multiple graphics for common scenarios but also some guidelines to improve your data visualizations. You can find them here.