This function replaces in the given dendrometric data (result from function load_data_dendrometry()) the diameters, height, decaystage and info on intact/snag from coppice trees by their separate stems given in the shoot data (result from function load_data_shoots()).

compose_stem_data(data_dendro, data_shoots)

Arguments

data_dendro

dataframe on tree measures with variables plot_id, plottype, tree_measure_id, date_dendro, dbh_mm, height_m, species, alive_dead, decaystage, period, OldID, year, subcircle, plotarea_ha,... (output of function load_data_dendrometry())

data_shoots

dataframe on shoots as given from the function load_data_shoots()

Value

Dataframe with shoot data

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")
compose_stem_data(data_dendro, data_shoots)
}