View source: R/human_functions_rename.r
makeColorsUnique | R Documentation |
This function converts any vector of colors to a new vector where each element is unique but the elements overall are as close as possible to the original elements.
makeColorsUnique(colorVector, seed = 1)
colorVector |
a vector of colors (in a format compatable with col2rgb) |
seed |
random seem for reproducibility |
a color vector very close to the initial colorVector, but where all color values are unique
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.