Learn R Programming

habtools (version 1.1.1)

hr: Calculate height range

Description

Calculates the distance between the lowest and highest point in a 3D object.

Usage

hr(data)

Value

Value of height range.

Arguments

data

A RasterLayer or mesh3d object.

Examples

Run this code
# for a DEM
hr(horseshoe)

# for a 3D mesh
hr(mcap)

Run the code above in your browser using DataLab