calc_reg_core_area_height_spec: aggregate regeneration parameters by plot, height, species...

View source: R/calc_reg_core_area_height_spec.R

calc_reg_core_area_height_specR Documentation

aggregate regeneration parameters by plot, height, species and year

Description

This function calculates for each plot, height, species and year the number of regeneration per ha (or interval with mean and confidence interval using a log transformation), the number and percentage of subplots in which the species is regenerating and the approximate rubbing damage percentage per hectare. This calculation is designed for core areas, that consist of different subplots.

Usage

calc_reg_core_area_height_spec(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

dataframe with columns plot, species, year, height, nr_of_subplots_with_regeneration, perc_subplots_with_regeneration, approx_rubbing_damage_perc, mean_number_of_regeneration_ha, lci_number_of_regeneration_ha, uci_number_of_regeneration_ha and approx_nr_regeneration_ha.

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_CA <-
  load_data_regeneration(path_to_fieldmapdb, plottype = "CA")
calc_reg_core_area_height_spec(data_regeneration_CA)


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