Description Usage Arguments Details Value References Examples
Calculate maps of the area potentially available to trees (APA-maps) out of
tree inventory data. All vector data that is used or provided by the
APAtree
-package is stored in data.frame
s of the additional
sf
class of the sf
-package (referred to as
sf-data.frame
). APA-maps are raster data that are stored in objects of
the raster
-package.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | apa_list(
plot_dat,
tree_dat,
plot_id_column,
tree_id_column,
weight_column,
agg_class_column = NULL,
core_column = attr(plot_dat, "sf_column"),
buffer_column = core_column,
res = 1,
subplot_dat = NULL,
subplot_id_column = NULL,
radius = 10,
apa_properties = NA,
edge_correction = "none",
dis_trait_column = NULL,
dis_method = "gowdis",
dis_transform = sqrt,
scope = "global",
apa_polygon = TRUE
)
|
plot_dat |
An |
tree_dat |
An |
plot_id_column |
Column name of |
tree_id_column |
Column name of |
weight_column |
Column name of |
agg_class_column |
An optional vector of column names of |
core_column |
Column name of |
buffer_column |
Column name of |
res |
single number specifying the resolution of the APA-maps (identical in x- and y-direction). |
subplot_dat |
A named list of |
subplot_id_column |
A named vector specifying the id columns of
|
radius |
The radius of circular subplots that should be used if a
dataset in in |
apa_properties |
A vector specifying the apa-properties that will be
calculated. May be any combination of |
edge_correction |
which of the implemented edge correction method should
be applied when calculating apa-properties ( |
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 |
apa_polygon |
logical, specifies if |
APA-maps are derived by calculating a rasterized version of weighted Voronoi-Diagrams of tree coordinates. To each tree a weight may be assigned that reflects the competitive ability of the tree.
apa_list
returns an object of class "apa_list"
. An
apa_list
is a list
of data.frame
s with at least two
elements:
apa_list$plot_dat
: A data.frame
with the original
plot-level data is stored with an additional column apa_map
that is
a list containing all APA-maps. APA-maps of individual plots are
represented by RasterStack
objects. If additional APA-properties
are calculated at stand-level, they are appended to this data.frame
as well.
apa_list$tree_dat
: A data.frame
with the original
tree-level data Additional tree-level APA-characteristics are added to
tree_dat
as separate columns.
aggregation classes (optional): if one or multiple aggregation classes
(e.g., tree species) were added to the apa_list
, additional
data.frame
s at class-level will be added..
apa_list$subplot_dat
(optional): If subplots were specified, all
data at subplot-level are stored here.
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.
Römisch,K. (1995) Durchmesserwachstum und ebene Bestandesstruktur am Beispiel der Kiefernversuchsfläche Markersbach. In Deutscher Verband forstl. Forschungsanstalten, Sektion Biometrie und Informatik. Gottfried Hempel (ed.) Tagung Tharanth/Grillenburg, Vol. 8, pp. 84–103.
Gspaltl, M., Sterba, H., & O’hara, K. L. (2012). The relationship between available area efficiency and area exploitation index in an even-aged coast redwood (Sequoia sempervirens) stand. Forestry, 85(5), 567-577.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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,
plot_id_column = "id_plot",
tree_id_column = "id_tree",
weight_column = "crown_radius_95",
agg_class_column = c("species", "height_class"),
res = 1,
apa_polygon = TRUE)
apa_list_enrico
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.