calc_veg_core_area_species: aggregate vegetation parameters by core area, species and...

View source: R/calc_veg_core_area_species.R

calc_veg_core_area_speciesR Documentation

aggregate vegetation parameters by core area, species and year

Description

This function calculates for each plot, species and year the percentage of subplots in which the species is present and the percentage of subplots where the species is browsed (relative to the plots where it is present). A difference is made between browsed (which contains all damage) and seriously browsed, which is reported if the damage is more than 1/20. This calculation is designed for core areas, that consist of different subplots. Year refers to year of recording of that specific species (source is table data_herblayer), and is possibly different for spring flora than for other species in the same subplot.

Usage

calc_veg_core_area_species(data_herblayer)

Arguments

data_herblayer

dataframe on vegetation in the species level ('herb layer') with variables ...

Value

dataframe with columns plot, species, year (year of recording of specific species, possibly different for spring flora), number_of_subplots (= number of subplots where the species occurs), perc_of_subplots (= percentage of subplots with species), number_of_subplots_browsed, perc_of_subplots_browsed, number_of_subplots_seriously_browsed, perc_of_subplots_seriously_browsed and mean_coverage_class_average_perc

Examples

library(forrescalc)
# (add path to your own fieldmap database here)
path_to_fieldmapdb <-
  system.file("example/database/mdb_bosres.sqlite", package = "forrescalc")
data_herblayer_CA <- load_data_herblayer(path_to_fieldmapdb, plottype = "CA")
calc_veg_core_area_species(data_herblayer_CA)


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