This unofficial R Package applies a RKI-like theme to a ggplot2 plot and also includes different color/fill palettes based on the RKI Corporate Design.
devtools::install_github("lekroll/rkicolors")
For more info see the rkicolor Vignette.
library("rkicolor")
library("ggplot2")
library("extrafont")
ggplot(iris, aes(Sepal.Width, Sepal.Length,
color = Species)) +
geom_point() +
theme_rki(base_family="ScalaSansLF-Regular",
bold_family="ScalaSansLF-Bold",
base_size = 10) +
scale_color_rki()
This package is based on a design proposed by Simon Jackson @drsimonj. For more Infos please see the Original proposal.