This function calculates for each plot, tree species and year the volume logs per hectare and per decay stage.

calculate_logs_decay_plot_species(data_deadwood)

Arguments

data_deadwood

dataframe on logs with variables plot_id, plottype, date_dendro, species, decaystage, calc_volume_m3, period and year (output of function load_data_deadwood())

Value

dataframe with columns plot, year, tree_species, decaystage, vol_log_m3_ha

Examples

if (FALSE) {
#change path before running
data_deadwood <-
  load_data_deadwood("C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb")
calculate_logs_decay_plot_species(data_deadwood)
}