.makeColorMatrix | R Documentation |
Internal function.
.makeColorMatrix(
grobToPlot,
zoomExtent,
maxpixels,
legendRange,
cols = NULL,
prevMinMax,
na.color = "#FFFFFF00",
zero.color = NULL,
skipSample = TRUE
)
grobToPlot |
A |
zoomExtent |
An |
maxpixels |
Numeric. Number of cells to subsample the complete
|
legendRange |
Numeric vector giving values that, representing the lower
and upper bounds of a legend (i.e., |
cols |
Colours specified in a way that can be understood directly
or by |
na.color |
Character string indicating the colour for |
zero.color |
Character string indicating the colour for zero values,
when zero is the minimum value.
Otherwise, it is treated as any other colour.
Default transparent.
Use |
skipSample |
Logical. If no downsampling is necessary, skip.
Default |
Eliot McIntire
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.