| sph | R Documentation | 
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)
x | 
 A raster or matrix.  | 
A numeric value of maximum peak height.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# find the maximum peak height
Sph <- sph(normforest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.