sph {geodiv}R Documentation

Calculates the Maximum Peak Height of a Surface Image

Description

Finds the absolute value of the highest value in the landscape (maximum peak height; Sph) for a raster or matrix representing a surface.

Usage

sph(x)

Arguments

x

A raster or matrix.

Value

A numeric value of maximum peak height.

Examples

# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)

# find the maximum peak height
Sph <- sph(normforest)

[Package geodiv version 1.1.0 Index]