knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of this package is to enhance the consistency of our graphics across the company
You can install the development version of statThemes from GitHub with:
# install.packages("devtools") devtools::install_github("STATWORX/statThemes")
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()
This gallery not only contains multiple graphics for common scenarios but also some guidelines to improve your data visualizations. You can find them here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.