View source: R/continuousMask.R
continuousMask | R Documentation |
The use case envision is updating a binary map to continuous values that describe the proportion of the cell that is suitable, based on land use/land cover classes
continuousMask(contStack, suitable, binaryRange, maskValue = NA, ...)
contStack |
a stack of layers with continuous values. |
suitable |
a vector of names of suitable layers of 'contStack'. These can be substrings of the layer names that can be 'grep'ped from 'names(contStack)' |
binaryRange |
a binary raster |
maskValue |
numeric. The value in 'binaryRange' that indicates the unsuitable cell |
... |
arguments to be passed to 'raster::mask' |
See Examples.
a raster
Cory Merow <cory.merow@gmail.com>,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.