Learn R Programming

APAtree

The area potentially available of trees is calculated from mapped forest stands. This is done by computing a rasterized version of 'Weighted Voronoi Diagrams' using a an approximation of the trees competitive ability (e.g., crown radius, leaf area) as weight. The main output are Raster* objects from the raster package that are stored together with the raw data in apa_list's, the main class of the APAtree package. Aggregation functions are provided to calculate the most important stand characteristics based on APA-maps.

Install

Currently, only installation from github is possible

library(devtools)
install_github("JonasGlatthorn/APAtree")

Documentation

After Installing, see the package Vignette for details (vignette("APAtree-vignette", package = "APAtree"))

Additionally, the scripts to produce some of the Figures in Glatthorn (accepted) can be found in the folder paste0(path.package("APAtree"), "/glatthorn_2021").

References

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.

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.

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.

Copy Link

Version

Install

install.packages('APAtree')

Monthly Downloads

53

Version

1.0.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Jonas Glatthorn

Last Published

August 17th, 2021

Functions in APAtree (1.0.1)

apa_ndiv

Calculate the index for neighborhood diversity NDiv for an apa_list
apa_add_subplot_dat

Add subplots to datasets
apa_add_agg_class

Add aggregation classes to an apa_list
apa_size

Calculate the sizes of APA-patches in an apa_list
apa_border_tree

Assess which trees in APA-maps are border trees.
apa_list

Calculating APA-maps
apa_add_polygon

Add POLYGON-columns to an apa_list
APAtree-package

Generation and analysis of maps of the area potentially available to trees (APA-maps) of forest stands
apa_seg

Calculate the segregation index of NDiv
apa_drop_x

Remove elements from an apa_list
plot.apa_list

plot APA-maps
tree_enrico

Tree-level data of 16 forest stands in Lower Saxony, Germany
plot_enrico

Plot-level data of 16 forest stands in Lower Saxony, Germany
set_raster_values

Replacement of non-NA values of a raster
rasterize_polygon

Rasterize one or multiple polygons. Takes sf or sp polygons as inputs and returns a list with one RasterLayer per polygon.
boundary_length

Calculate boundary lengths between classes in Raster*-objects
get_single_voronoi

Rasterized version of the 'Weighted Voronoi Diagram'
subset.apa_list

Subsetting of apa_lists
subplot_enrico

Subplot-level data of 16 forest stands in Lower Saxony, Germany