densityTree: Tree density

View source: R/dendrometry.R

densityTreeR Documentation

Tree density

Description

Density of trees per plot.

Usage

densityTree(number, area, overall = TRUE)

Arguments

number

numeric, vector of tree count in each plot.

area

numeric, area of a plot.

overall

logical, if TRUE, an overall mean density is computed, otherwise density is computed for each plot. Default is TRUE.

Details

If every plot have same area, area is a numeric value, otherwise area is a vector of each plot area.

Value

Vector of density.

See Also

densityRegen for regeneration density.

Examples

count <- setNames(
  c(87, 104, 83, 132, 107, 84, 110, 115, 112, 94),
  LETTERS[1:10]
)
densityTree(count, 10)
densityTree(count, area = 10, overall = FALSE)
densityTree(count, area = 10:19, overall = FALSE)


dendrometry documentation built on June 8, 2025, 10:38 a.m.