powered by
Finds the mean height of positive values in the landscape (mean peak height; Smean) for a raster or matrix representing a surface.
smean(x)
A numeric value of mean peak height.
A raster or matrix.
# import raster image data(normforest) normforest <- terra::unwrap(normforest) # find the maximum peak height Smean <- smean(normforest)
Run the code above in your browser using DataLab