Skip to contents

Calculates the Basal Area Smaller (BAS) for each tree in each plot.

Usage

silv_tree_bas(
  data,
  plot_id,
  tree_id,
  diameter = NULL,
  expansion_factor = NULL,
  basal_area_ha = NULL,
  units = "cm"
)

Arguments

data

A data frame containing tree measurements.

plot_id

Unquoted column name with the plot identifier.

tree_id

Unquoted column name with the tree identifier.

diameter

Unquoted column name with the DBH (optional).

expansion_factor

Unquoted column name with the expansion factor (optional).

basal_area_ha

Unquoted column name with the basal area per hectare. If provided, diameter and expansion_factor are ignored.

units

The units of the diameter.

Value

A numeric vector with the BAS for each tree.