s10z: Ten-Point Height

View source: R/localsurface.R

s10zR Documentation

Ten-Point Height

Description

Calculates the average height above the mean surface for the five highest local maxima plus the average height below the mean surface for the five lowest local minima.

Usage

s10z(x)

Arguments

x

A raster or matrix.

Value

A numeric value representing the ten-point height.

Examples

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

# calculate ten-point height.
S10z <- s10z(normforest)

bioXgeo/geodiv documentation built on Oct. 17, 2023, 5:58 a.m.