Learn R Programming

geodiv (version 1.1.0)

s10z: 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)

Value

A numeric value representing the ten-point height.

Arguments

x

A raster or matrix.

Examples

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

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

Run the code above in your browser using DataLab