Description
Creates an object of class shading
by directly specifying break values and (optionally) colours.
Usage
shading(breaks, cols = brewer.pal(length(breaks), "Reds"))
Value
An object of class shading
.
Arguments
- breaks
The break points
- cols
The shading colours - there should be one more of these than break points.
Warning
At the moment, the it is assumed that the number of shading colours is one more than the break points, but this is not checked.