functionalMask | R Documentation |
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.
functionalMask(x, local = 0, res, proportion = 0.1, threshold)
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 |
the score raster, masked
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.