detect_drop | R Documentation |
Detect a sudden drop, edge, or overhang in a DEM
detect_drop(data, d = 0.1)
data |
DEM of class RasterLayer. |
d |
The threshold height difference to define a drop. |
A RasterLayer marking edges. Values indicate maximum height difference of surrounding cells.
edges <- detect_drop(horseshoe, d = 0.2)
raster::plot(horseshoe)
raster::plot(edges)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.