This function calculates for each plot and year the number of species, total number of trees and rubbing damage percentage for generation (for all height classes together). For core area plots, these variables are calculated for each subplot.

calculate_regeneration_plot(data_regeneration)

Arguments

data_regeneration

dataframe on tree regeneration with variables ...

Value

dataframe with columns plot, year and number_of_tree_species

Examples

if (FALSE) {
#change path before running
library(forrescalc)
data_regeneration <-
  load_data_regeneration("C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb")
calculate_regeneration_plot(data_regeneration)
}