R/hr.R
hr.Rd
Calculates the distance between the lowest and highest point in a 3D object.
hr(data)
A RasterLayer or mesh3d object.
Value of height range.
# for a DEM hr(horseshoe) #> [1] 1.369283 # for a 3D mesh hr(mcap) #> [1] 0.2185397