plot_ba_curve | R Documentation |
Calculates and plots the Bearing Area curve for a raster
or matrix using the bearing_area()
function (with correctly
rotated results).
plot_ba_curve(x, divisions = FALSE)
x |
A raster or matrix. |
divisions |
Logical, defaults to |
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.
Plots the Bearing Area curve.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# plot the bearing area curve
plot_ba_curve(normforest, divisions = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.