Description Usage Arguments Value Examples
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.
1 | KimPalettes(n)
|
n |
number of colors in the plot (needs to be in the pre-defined list in the description) |
a character vector with hexadecimal color definitions of the desired length
1 2 3 4 | ## Short example
fourcolours <- KimPalettes(4)
plot(runif(4),cex=3,pch=16,col=fourcolours)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.