sph: Calculates the Maximum Peak Height of a Surface Image

Description Usage Arguments Value Examples

View source: R/basics.R

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

1
sph(x)

Arguments

x

A raster or matrix.

Value

A numeric value of maximum peak height.

Examples

1
2
3
4
5
# import raster image
data(normforest)

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

geodiv documentation built on Sept. 5, 2021, 5:26 p.m.