Description Usage Arguments Details References Examples
NDiv assesses the average dissimilarity between trees and their neighbors using APA-maps. Dissimilarity can be assessed using a species- or a trait-based approach. Upscaling of the tree-level NDiv to the species- or stand-level are provided.
1 2 3 4 5 6 7 8 9 |
apa_list |
A |
dis_trait_column |
A list containing combinations of traits that will
be used to estimate dissimilarity between trees when calculating
apa-properties. Refers to column names of |
dis_method |
Which method should be used to estimate dissimilarity
between trees. If |
dis_transform |
A |
scope |
Should scaling of the dissimilarity be done at |
edge_correction |
which of the implemented edge correction method should
be applied when calculating apa-properties ( |
pdiv |
If TRUE (default), pdiv will be calculated (proportion-based diversity, average dissimilarity between a tree and all other trees in a stand, irrespective of the spatial configuration.) |
See Glatthorn (2021) for details.
Glatthorn, Jonas (2021). A spatially explicit index for tree species or trait diversity at neighborhood and stand level. Ecological Indicators, 130, 108073. https://doi.org/10.1016/j.ecolind.2021.108073.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | library(APAtree)
data(tree_enrico, package = "APAtree")
data(plot_enrico, package = "APAtree")
tree_enrico$height_class <- tree_enrico$height > 20
# only calculate an apa_list for two plots and with a coarse resolution of 1 m
# to save time.
apa_list_enrico <-
apa_list(plot_dat = subset(plot_enrico, id_plot %in% c("5.2", "8.2")),
tree_dat = tree_enrico,
buffer_column = "buffer_geometry",
core_column = "border_geometry",
plot_id_column = "id_plot",
tree_id_column = "id_tree",
agg_class_column = "species",
weight_column = "crown_radius_95",
res = 1,
apa_polygon = FALSE)
# Calculate SpeciesNDiv
apa_list_enrico <-
apa_ndiv(apa_list_enrico,
dis_trait_column = "species")
# tree-level SpeciesNDiv:
head(apa_list_enrico$tree_dat[, c("id_tree", "species_ndiv")])
# stand-level SpeciesNDiv:
apa_list_enrico$plot_dat[, c("id_plot", "species_ndiv")]
# species-level SpeciesNDiv:
head(apa_list_enrico$species[, c("id_plot", "species", "species_ndiv")])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.