mask_slope | R Documentation |
Mask slope raster, setting the slope to zero for the pixels overlapping the river area.
mask_slope(slope, river, lthresh = 0.001, target = 0)
slope |
raster data of slope |
river |
vector/polygon data of river |
lthresh |
lower numerival threshold to consider slope non-zero |
target |
value to set for pixels overlapping river area |
updated slope raster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.