sdc: Height Intervals of the Bearing Area Curve

View source: R/bearingarea.R

sdcR Documentation

Height Intervals of the Bearing Area Curve

Description

Determines the height interval (height distance) for points along the bearing area curve as defined by their x values.

Usage

sdc(x, low, high)

Arguments

x

A raster or matrix.

low

Numeric value along the x-axis corresponding to the lowest value of interest along the x-axis.

high

Numeric value along the y-axis corresponding to the highest value of interest along the x-axis.

Value

A numeric value of the difference in height of the y values along the bearing area curve corresponding to the specified x values.

Examples

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

# determine the 10-40% height interval of the
# bearing area curve
val <- sdc(normforest, 0.1, 0.4)

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