colorise | R Documentation |
assign colours to distinct values of a vector
colorise(v)
v |
vector to be converted to colours |
a vector of colours of equal length with two attributes: 'palette' giving the palette used for all distinct colours; 'uniq': vector of distinct values in v
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.