height_ba: Value of the Bearing Area Curve at a Specified Value

View source: R/bearingarea.R

height_baR 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)

bioXgeo/geodiv documentation built on Oct. 17, 2023, 5:58 a.m.