calculate_regeneration: aggregates parameters on regeneration of trees

View source: R/calculate_regeneration.R

calculate_regenerationR Documentation

aggregates parameters on regeneration of trees

Description

This function makes aggregations of tree generation data on the levels of

  • plot and year (and subplot for core area)

  • plot, height class and year (and subplot for core area)

  • plot, tree species and year (and subplot for core area)

  • plot, height class, tree species and year (and subplot for core area)

For core area plots it makes additional aggregations on the levels of

  • core area, tree species and year

  • core area, height class, tree species and year

Usage

calculate_regeneration(data_regeneration)

Arguments

data_regeneration

dataframe on tree regeneration with variables plot_id, plottype, subplot_id, height_class, species, nr_of_regeneration, rubbing_damage_number, period, year, subcircle, plotarea_ha, min_number_of_regeneration and max_number_of_regeneration.

Value

List of dataframes that are mentioned in the above description

Examples

library(forrescalc)
# (add path to your own fieldmap database here)
path_to_fieldmapdb <-
  system.file("example/database/mdb_bosres.sqlite", package = "forrescalc")
data_regeneration <- load_data_regeneration(path_to_fieldmapdb)
calculate_regeneration(data_regeneration)


inbo/forrescalc documentation built on Sept. 28, 2024, 11:45 a.m.