powered by
Calculates the summit density of a raster or matrix. Summit density is the number of local peaks per unit area.
sds(x)
A numeric value representing the summit density.
A raster or matrix.
# import raster image data(normforest) normforest <- terra::unwrap(normforest) # calculate summit density. Sds <- sds(normforest)
Run the code above in your browser using DataLab