R package rkicolors
August 30, 2018 ยท View on GitHub
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.
Installation
devtools::install_github("lekroll/rkicolors")
Package Vignette
For more info see the rkicolor Vignette.
Example
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()

Acknowledgement
This package is based on a design proposed by Simon Jackson @drsimonj. For more Infos please see the Original proposal.