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

calculate_regeneration_plot_height(data_regeneration)

Arguments

data_regeneration

dataframe on tree regeneration with variables ...

Value

dataframe with columns plot, year, height_class 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_height(data_regeneration)
}