sds | R Documentation |
Calculates the summit density of a raster or matrix. Summit density is the number of local peaks per unit area.
sds(x)
x |
A raster or matrix. |
A numeric value representing the summit density.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# calculate summit density.
Sds <- sds(normforest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.