forestexplorR

The forestexplorR package is designed to facilitate the cleaning, analysis and visualization of rectangular mapped forest stand data.

Mapped forest stands are areas of the forest where the size, species identity and location of each tree meeting a specified minimum size threshold is recorded. Stands are typically re-censused periodically to document mortality, re-measure tagged trees, and record trees that have reached the minimum size threshold since the previous census. Together, these data allow us to quantitatively describe the local neighborhood of any tree or specified location in the stand. These neighborhood descriptions can then be used as informative covariates of forest processes, such as tree growth, tree mortality, and spatial variation in soil microbial communities.

Massaging these invaluable datasets into a format conducive to exploration and analysis is no small feat. First, we need to extract data on all the trees growing in each of several thousand focal trees' neighborhoods. Then we may want to calculate the annual growth rate of each tree using its repeated size measurements. We may also want to generate gps locations for individual trees in order to connect them with spatially explicit data sources such as lidar topographical data. Typically, each research group working with mapped forest stand data must complete these arduous coding tasks independently. forestexplorR attempts to negate this time-consuming process by providing flexible functions that can perform each of these tasks on any mapped forest stand dataset.

Installation

If installing on a Mac, you will need to have libgit2 installed on your machine. This can be installed using homebrew with:

brew install libgit2

forestexplorR can then be installed with the following:

# Install devtools package if not already installed
install.packages("devtools")

# Use devtools to install forestexplorR
devtools::install_github("sgraham9319/forestexplorR")

Updates

The functions of forestexplorR handle only the most common analytical tasks associated with mapped forest stand data. If you encounter a task that is not covered by forestexplorR, please feel free to build that functionality and submit a pull request, or contact us if you're not sure where to start.