getColourVectorFromLevels | R Documentation |
Function to generate a vector of colours from a vector of levels and a colour specification list
getColourVectorFromLevels(levels, colourSpecification)
levels |
Vector of levels. |
colourSpecification |
List that specifies which levels are to be represented by which respective colour. Make sure, that the definition matches the levels in parameter |
A vector of colours in the order of the input levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.