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)

geodiv documentation built on Oct. 6, 2023, 1:07 a.m.