| s10z | R Documentation | 
Calculates the average height above the mean surface for the five highest local maxima plus the average height below the mean surface for the five lowest local minima.
s10z(x)
| x | A raster or matrix. | 
A numeric value representing the ten-point height.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# calculate ten-point height.
S10z <- s10z(normforest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.