Presentation for Cornell Acoustic Methods Reading Group Series, July 19, 2022
Occupancy modeling is a common approach to assess species distribution patterns across space and/or time, while explicitly accounting for false absences in detection-nondetection data. Passive acoustic monitoring (PAM) provides potentially massive amounts of data on the presence or absence of species over space and time, and thus PAM data can be leveraged in an occupancy modeling framework to provide important insights on distribution patterns of individual species and overall communities.
This presentation is focused on fitting Bayesian occupancy models with acoustic data in the spOccupancy R package. I first give a brief introduction of occupancy modeling, provide an overview of spatial autocorrelation and why we may need to account for it in occupancy models, introduce the spOccupancy
package, and provide two examples of how to fit a single-species and multi-species occupancy model to a data set on a tropical amphibian community from Ribeiro et al. 2018. This repository contains the presentation slides, the example data set, and the R scripts for the two examples.
spOccupancy can be installed from CRAN using install.packages("spOccupancy")
.
In the examples, we will use four additional packages for summarizing our results: coda, MCMCvis, ggplot2, and sf. These packages can be installed from CRAN as follows:
install.packages(c("coda", "MCMCvis", "ggplot2", "sf"))
single-species-example.R
: example code that fits a spatial and nonspatial occupancy model to a single amphibian species and provides basic summaries of the results.multi-species-example.R
: example code that fits a spatial and nonspatial multi-species occupancy model to a tropical amphibian community and provides basic summaries of the results.
Contains example data set on tropical amphibian occurrence in the Brazilian Atlantic Forest. These data come from Riberio et al. 2018. The data set was obtained from the Zipkin Lab Code Archive and permsission to use the data set as an example was generously given by José Wagner Ribeiro Jr. The full data set used detection-nondetection data from human surveys as well as from autonomous acoustic recording units, and here we will only use the acoustic data. The R data object ribeiroJrEtAl2018Data.rda
contains the acoustic data from the study formatted for use in spOccupancy
.
- Introductory spOccupancy manuscript
- spOccupancy website
- Package updates are posted on my twitter account