lekroll / rkicolors

This R Package applies a RKI-like theme to a ggplot2 plot and also includes different color/fill palettes based on the RKI Corporate Design.

Home Page:https://lekroll.github.io/rkicolors/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

R package rkicolors

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.

About

This R Package applies a RKI-like theme to a ggplot2 plot and also includes different color/fill palettes based on the RKI Corporate Design.

https://lekroll.github.io/rkicolors/

License:MIT License


Languages

Language:R 100.0%