View source: R/getMultiMapRamp.R
| getMultiMapRamp | R Documentation |
Extracts the range of values across a list of input objects for use in plotting
getMultiMapRamp(...)
... |
objects of class |
If the user would like to plot multiple epmGrid objects
with a standardized color ramp, then the returned values from this function
can be supplied to plot.epmGrid. Also works with RasterLayer
and sf objects. For sf object, only one attribute can be specified.
a numeric vector of length 2: overall min and max value.
Pascal Title
library(terra)
tamiasEPM
# create a dummy raster for demonstration purposes.
ras <- rast()
values(ras) <- runif(ncell(ras), min = 0, max = 40)
getMultiMapRamp(tamiasEPM, ras)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.