continuousMask: Update a binary raster (species range map) to continuous...

Description Usage Arguments Details Value Author(s)

View source: R/continuousMask.R

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

1
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>,


maskRangeR documentation built on Nov. 10, 2021, 5:09 p.m.