This function calculates for each plot, species and year the number of trees per ha, and the number and percentage of subplots in which the species is regenerating. This calculation is designed for core areas, that consist of different subplots.

calculate_regeneration_core_area_species(data_regeneration)

Arguments

data_regeneration

dataframe on tree regeneration with variables ...

Value

dataframe with columns plot, species, year, min_number_of_trees_ha, max_number_of_trees_ha, number_of_subplots_with_regeneration and perc_subplots_with_regeneration

Examples

if (FALSE) {
#change path before running
library(forrescalc)
data_regeneration_CA <-
  load_data_regeneration(
    "C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb",
    plottype = "Core area"
  )
calculate_regeneration_core_area_species(data_regeneration_CA)
}