Publication
 

The forestecology R package for fitting and assessing neighborhood models of the effect of interspecific competition on the growth of trees

Neighborhood competition models are powerful tools to measure the effect of interspecific competition. Statistical methods to ease the application of these models are currently lacking. We present the forestecology package providing methods to (a) specify neighborhood competition models, (b) evaluate the effect of competitor species identity using permutation tests, and (cs) measure model performance using spatial cross-validation. Following Allen and Kim (PLoS One, 15, 2020, e0229930), we implement a Bayesian linear regression neighborhood competition model. We demonstrate the package's functionality using data from the Smithsonian Conservation Biology Institute's large forest dynamics plot, part of the ForestGEO global network of research sites. Given ForestGEO’s data collection protocols and data formatting standards, the package was designed with cross-site compatibility in mind. We highlight the importance of spatial cross-validation when interpreting model results. The package features (a) tidyverse-like structure whereby verb-named functions can be modularly “piped” in sequence, (b) functions with standardized inputs/outputs of simple features sf package class, and (c) an S3 object-oriented implementation of the Bayesian linear regression model. These three facts allow for clear articulation of all the steps in the sequence of analysis and easy wrangling and visualization of the geospatial data. Furthermore, while the package only has Bayesian linear regression implemented, the package was designed with extensibility to other methods in mind.

Authors: 
Albert Y. Kim, David N. Allen, & Simon P. Couch
Journal: 
Ecology and Evolution
Year: 
2021
Volume: 
11
Issue: 
22
Pages: 
15556-15572
DOI: 
10.1002/ece3.8129