This function calculates for each plot, tree height class, species and year the number of trees and rubbing damage percentage per hectare for regeneration. For core area plots, these variables are calculated for each subplot.

calculate_regeneration_plot_height_species(data_regeneration)

Arguments

data_regeneration

dataframe on tree regeneration with variables ...

Value

dataframe with columns plot, year, height_class, species and number_of_trees_ha

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_height_species(data_regeneration)
}