height_ba {geodiv}R Documentation

Value of the Bearing Area Curve at a Specified Value

Description

Determines the value of the bearing area curve for a specific value along the x-axis (xval).

Usage

height_ba(x, xval)

Arguments

x

A raster or matrix.

xval

Numeric value along the x-axis.

Value

A numeric value of the bearing area function corresponding to xval.

Examples

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

# determine the bearing area function value
# corresponding to an x value of 0.4
val <- height_ba(normforest, 0.4)

[Package geodiv version 1.1.0 Index]