Skip to content

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.

License

Notifications You must be signed in to change notification settings

lekroll/rkicolors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages