colormapMiss(x, region, map, imp_index = NULL, prop = TRUE,
polysRegion = 1:length(x), range = NULL, n = NULL, col = c("red",
"orange"), gamma = 2.2, fixup = TRUE, coords = NULL, numbers = TRUE,
digits = 2, cex.numbers = 0.8, col.numbers = par("fg"),
legend = TRUE, interactive = TRUE, ...)colormapMissLegend(xleft, ybottom, xright, ytop, cmap, n = 1000,
horizontal = TRUE, digits = 2, cex.numbers = 0.8,
col.numbers = par("fg"), ...)
x
giving the
regions."SpatialPolygons"
from package sp
).col
).colormapMiss
, the number of equally spaced cut-off points
for a discretized color scheme. If this is not a positive integer, a
continuous color scheme is used (the default). In the latter case, the
number of rectangles toRGB
". HCL colors need to be specified as
objects of class "<
hex
).hex
).data.frame
with two columns giving the
coordinates for the labels.colormapMiss
that contains the
required information for the legend.plot
.colormapMiss
returns a list with the following components:NULL
for a
continuous color scheme."rgb"
for RGB colors or "hcl"
for HCL colors).hex
).hex
).x
of each region is
coded according to a continuous or discrete color scheme in the color range
defined by col
. In addition, the proportions or numbers can be shown
as labels in the regions.
If interactive
is TRUE
, clicking in a region displays more
detailed information about missing/imputed values on the Rconsole. Clicking
outside the borders quits the interactive session.colSequence
, growdotMiss
, mapMiss