functionalMask: Functional Threshold

View source: R/fun_spatial.R

functionalMaskR Documentation

Functional Threshold

Description

Create a mask to remove small patches not considered to provide a service. Used in some ecosystem service capacity models. Not meant to be used directly.

Usage

functionalMask(x, local = 0, res, proportion = 0.1, threshold)

Arguments

x

a capacity score raster

local

the wide search radius, in meters (defaults to 0 in case it doesn't apply to model)

res

the resolution of the raster (m)

proportion

the proportion of cells in the search radius which we allow to have a low score (10 units) and still consider 0

threshold

the size threshold (m2) for a patch to be considered functional

Value

the score raster, masked


ecoservR/ecoserv_tool documentation built on April 5, 2025, 1:49 a.m.