map.choropleth-class: S4 class for choropleth maps

Description Slots Author(s) See Also

Description

The map.choropleth class is a sub-class of the map class, for choropleth maps.

Slots

varname:

The name of the variable to be mapped, from data. Passed as a character.

sp.key:

The name of the ID variable from the sp.

data.key:

The name of the ID variable frome the data.

cuts:

Vector of values used as breaks for the class intervals.

cut.method:

Method used to provide the class intervals. See style in the classIntervals function from the classInt package.

cols:

Vector of colors of the polygons to be plotted.

col:

Palette to be used.

NA.white:

If TRUE, NA values are represented in white, if FALSE with shades.

borders:

The color in which the borders of polygons should be drawn.

legend:

A list with the parameters of the legend. If it is an empty list, no legend will be drawn.

na.values:

A vector, the same length as the variable to be plotted, with logical values. TRUE when the variable to be plotted is NA.

palette:

Name of the color palette to use.

order:

Logical, "normal" or "reverse".

margins:

A vector of numerics, the four margins (in textlines) of the plot.

Author(s)

Joel Gombin

See Also

map, map.tps, map.loess


joelgombin/cartoPOO documentation built on May 19, 2019, 3 p.m.