densityRegen: Density of regeneration (efficient version)

View source: R/dendrometry.R

densityRegenR Documentation

Density of regeneration (efficient version)

Description

Computes the density per plot of tree regeneration based on counts in subplots. Can be grouped by additional factors for nested analysis.

Usage

densityRegen(data = NULL, plot = NULL, count, nbSubPlot, area, ...)

Arguments

data

an optional data frame, list, tibble or object coercible by as.data.frame to a data frame containing the variables whose names are given in count and plot.

plot

an optional character, name of the variable containing the plot identities. If data is missing, a vector providing the plot identities.

count

character, name of the variable containing the counts: number of stems (individuals). If data is missing, a numeric vector providing the the counts: number of stems (individuals).

nbSubPlot

numeric, number of subplots per plot.

area

numeric, area of each subplot.

...

additional factor variables for grouping (e.g., species, site, treatment)


dendrometry documentation built on Nov. 5, 2025, 5:23 p.m.