plot_ba_curve: Plots the Bearing Area Curve

Description Usage Arguments Details Value Examples

View source: R/bearingarea.R

Description

Calculates and plots the Bearing Area curve for a raster or matrix using the bearing_area() function (with correctly rotated results).

Usage

1
plot_ba_curve(x, divisions = FALSE)

Arguments

x

A raster or matrix.

divisions

Logical, defaults to FALSE. If TRUE, divisions of the curve will be plotted. See details section for more information.

Details

If divisions = TRUE, the lines representing the best fit line to the flattest 40 percent of the curve will be shown, as well as both the x and y interception points of that line.

Value

Plots the Bearing Area curve.

Examples

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

# plot the bearing area curve
plot_ba_curve(normforest, divisions = TRUE)

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