plot_ba_curve {geodiv} | R Documentation |
Plots the Bearing Area Curve
Description
Calculates and plots the Bearing Area curve for a raster
or matrix using the bearing_area()
function (with correctly
rotated results).
Usage
plot_ba_curve(x, divisions = FALSE)
Arguments
x |
A raster or matrix. |
divisions |
Logical, defaults to |
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
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# plot the bearing area curve
plot_ba_curve(normforest, divisions = TRUE)
[Package geodiv version 1.1.0 Index]