Learn R Programming

GISTools (version 1.0-2)

shading: Shading

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.

Author

Chris Brunsdon

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.

See Also

choropleth,choro.legend