Description Usage Arguments Value
Inspired by the the theory from http://tools.medialab.sciences-po.fr/iwanthue/theory.php For more info, also see https://en.wikipedia.org/wiki/Lab_color_space
1 | distinctColorPalette(k = 1, altCol = FALSE, runTsne = FALSE)
|
k |
number of colors (>= 1). May be ineffective for k > 40. |
altCol |
Use an alternate color space |
runTsne |
Preprocess color space with t-SNE to obtain distinct colors. Reduces performance. |
A character vector of k optimally distinct colors in hexadecimal codes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.