knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of benelib
is to make my life considerably easier. This package includes various helper functions for ggplot2
plots, RStudio projects or R Markdown templates and a few things more.
You can install and loaded the released version of benelib
from GitHub with:
# install.packages("devtools") devtools::install_github("benediktclaus/benelib") library(benelib)
One of the main reasons for this package to exist is the ability to change ggplot2
's default color and fill scales to a given corporate design.
library(benelib)
library(ggplot2) use_personal_theme() palmer_penguins %>% ggplot(aes(bill_length_mm, bill_depth_mm, color = species)) + geom_point()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.