rwmGetColours {rworldmap} | R Documentation |
to choose map colours for classified data
Description
Returns a vector of colours based upon the palette specified and number of colours specified. If colourPalette specifies a number of colours and this is different from numColours, numColours takes precedence and colours are interpolated to make the number fit.
Usage
rwmGetColours(colourPalette, numColours)
Arguments
colourPalette |
string describing the colour palette to use, choice of:
|
numColours |
the number of colour categories desired |
Value
A vector specifiying a number of colours.
[Package rworldmap version 1.3-8 Index]