plot_tree_plot_area: Plot Tree Plot Area

View source: R/plot_tree_plot_area.R

plot_tree_plot_areaR Documentation

Plot Tree Plot Area

Description

Visualize a corner, its boundaries and tree plot areas.

Usage

plot_tree_plot_area(
  angle_counts,
  boundaries,
  tnr,
  enr,
  bnr = NULL,
  frame_factor = 1,
  use_sub = NULL
)

Arguments

angle_counts

A data.frame containing angle counts. It has to have columns named by the contents of either
get_defaults()[["angle_counts"]] or
getOption("treePlotArea")[["angle_counts"]].
Could be bw2bwi2022de(get(data("trees", package = "treePlotArea")))).

boundaries

A data.frame containing boundaries. It has to have columns named by the contents of either
get_defaults()[["boundaries"]] or
getOption("treePlotArea")[["boundaries"]].
Could be get(data("boundaries", package = "treePlotArea")) or the output of get_boundary_polygons.

tnr

Number of the tract.

enr

Number of the tract's corner.

bnr

If given, the number of a corner's tree.

frame_factor

Plotting from as a factor of the tree plot area. Stick with the default.

use_sub

Deprecated.

Value

The corrections factors for the trees' plot areas.

Examples

tnr <- 166
enr <- 2
bnr <- 7
angle_counts <- bw2bwi2022de(get(data("trees", package = "treePlotArea")))
plot_tree_plot_area(angle_counts = angle_counts,
                    boundaries = get(data("boundaries",
                                          package = "treePlotArea")),
                    tnr =  tnr, enr = enr, bnr = bnr, frame_factor = 4)
plot_tree_plot_area(angle_counts = angle_counts,
                    boundaries = get(data("boundaries",
                                          package = "treePlotArea")),
                    tnr =  tnr, enr = enr, frame_factor = 1)

treePlotArea documentation built on June 22, 2024, 6:57 p.m.