mask_slope {rcrisp} | R Documentation |
Mask slope raster, setting the slope to zero for the pixels overlapping the river area.
Description
Mask slope raster, setting the slope to zero for the pixels overlapping the river area.
Usage
mask_slope(slope, river, lthresh = 0.001, target = 0)
Arguments
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 |
Value
updated slope raster
[Package rcrisp version 0.1.4 Index]