Description Slots Author(s) See Also
The map.choropleth
class is a sub-class of the
map
class, for choropleth maps.
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.
Joel Gombin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.