Computes the density per plot of tree regeneration based on counts in subplots. Can be grouped by additional factors for nested analysis.
densityRegen(data = NULL, plot = NULL, count, nbSubPlot, area, ...)
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
.
an optional character, name of the variable containing the plot
identities. If data
is missing, a vector providing the plot identities.
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).
numeric, number of subplots per plot.
numeric, area of each subplot.
additional factor variables for grouping (e.g., species, site, treatment)