continuousMask {maskRangeR} | R Documentation |
Update a binary raster (species range map) to continuous values that describe the proportion of cell that is suitable or the quality of the cell.
Description
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
Usage
continuousMask(contStack, suitable, binaryRange, maskValue = NA, ...)
Arguments
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' |
Details
See Examples.
Value
a raster
Author(s)
Cory Merow <cory.merow@gmail.com>,
[Package maskRangeR version 1.1 Index]