s10z: Ten-Point Height

Description Usage Arguments Value Examples

View source: R/localsurface.R

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

1
s10z(x)

Arguments

x

A raster or matrix.

Value

A numeric value representing the ten-point height.

Examples

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

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

Example output



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