knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

statThemes

R-CMD-check Lifecycle: experimental CRAN status

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)

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.



STATWORX/statThemes documentation built on May 13, 2022, 12:45 a.m.