calc_diam_statistics_species: Give diameter statistics by forest reserve, species and year

View source: R/calc_diam_statistics_species.R

calc_diam_statistics_speciesR Documentation

Give diameter statistics by forest reserve, species and year

Description

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

Usage

calc_diam_statistics_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

library(forrescalc)
# (add path to your own fieldmap database here)
path_to_fieldmapdb <-
  system.file("example/database/mdb_bosres.sqlite", package = "forrescalc")
data_dendro <- load_data_dendrometry(path_to_fieldmapdb)
data_shoots <- load_data_shoots(path_to_fieldmapdb)
data_stems <- compose_stem_data(data_dendro, data_shoots)
calc_diam_statistics_species(data_stems)


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