KimPalettes: Request discrete color palettes created by Kim De Paepe

Description Usage Arguments Value Examples

View source: R/KimPalettes.R

Description

Function to select a discrete color palette as created by Kim De Paepe using to create color palettes: http://tools.medialab.sciences-po.fr/iwanthue/ . The options are 2, 3, 4,5, 6,7,8,9,10,11,12,15,16,20,30 and 100-color palettes.

Usage

1

Arguments

n

number of colors in the plot (needs to be in the pre-defined list in the description)

Value

a character vector with hexadecimal color definitions of the desired length

Examples

1
2
3
4
## Short example

fourcolours <- KimPalettes(4)
plot(runif(4),cex=3,pch=16,col=fourcolours)

CMET-UGent/CMETNGS documentation built on Dec. 12, 2020, 8:22 a.m.