View source: R/calc_veg_core_area_species.R
calc_veg_core_area_species | R Documentation |
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.
calc_veg_core_area_species(data_herblayer)
data_herblayer |
dataframe on vegetation in the species level ('herb layer') with variables ... |
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
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.