This function calculates the diameter distribution on the level of forest reserve, species and year

create_diam_statistics_forres_species(data_stems)

Arguments

data_stems

dataframe on stems (shoots and trees) as given from the function compose_stem_data()

Value

dataframe with columns forest_reserve, species, year and measures on diameter distribution (min, max, mean, median, Q1, Q3)

Examples

if (FALSE) {
#change path before running
library(forrescalc)
data_dendro <-
  load_data_dendrometry("C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb")
data_shoots <-
  load_data_shoots("C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb")
data_stems <- compose_stem_data(data_dendro, data_shoots)
create_diam_statistics_forres_species(data_stems)
}