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