shading: Shading

View source: R/shading.R

shadingR Documentation

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"))

Arguments

breaks

The break points

cols

The shading colours - there should be one more of these than break points.

Value

An object of class shading.

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.

Author(s)

Chris Brunsdon

See Also

choropleth,choro.legend


GISTools documentation built on Oct. 3, 2024, 1:08 a.m.