The available lichen data consists of detection/nondetection data (1/0) of 373 tree-inhabiting (corticolous) lichen species from 416 plots surveyed 1-2 times. The lichen data were originally collected for the purpose of the Red List of epiphytic lichen species in Switzerland (Scheidegger et al. 2002), but updated to recent nomenclature for the purpose of this study.
This repository contains all the supporting data and R code for the paper:
von Hirschheydt, G., Kéry, M., Ekman, S., Stofer, S., Dietrich, M., Keller, C., Scheidegger, C. (2024) Occupancy model reveals limited detectability of lichens in a standardised large-scale monitoring. Journal of Vegetation Science.
Results and figures presented in the manuscript should be reproducible (with small differences in the latter digits due to stochasticity of the MCMC sampler) with the provided data and code.
The downloadable .zip
folder has the following structure:
* 0_data/
* 1_code/
* 2_output/
* lichen_detectability.Rproj
* README.txt
* workflow.html
- workflow.Rmd
The main folder and the three subordinate folders each have their own README*.txt
file. These describe each available file in detail and should be consulted prior to using the data or running any code. The file lichen_detectability.Rproj
stores the information about the R project. The user can open the project by clicking/double-clicking on this file which will automatically define the repository as working directory for the R session. If the user does not use RStudio/Posit, they may have to set the working directory manually to the stored location in the R files. The files workflow.*
guide the user through the analysis (1_code/*.R
) in the correct order so that they can:
- bundle the cleaned data into a data list readable for JAGS
- fit the multi-species occupancy model to the data and store the output
- assess the goodness-of-fit of the model to the data
- conduct a prior sensitivity analysis with 2 additional sets of priors
- extract the summary statistics reported in the manuscript and supplementary materials
- generate the figures shown in the manuscript and supplementary materials
This work was supported by:
- Swiss Federal Office for the Environment (BAFU)
(Grant/Award: 00.5147.PZ/0DF268D21)
Hirschheydt, Gesa von; Kéry, Marc; Ekman, Stefan; Stofer, Silvia; Dietrich, Michael; Keller, Christine; Scheidegger, Christoph (2024). Repeated detection-nondetection data of corticolous lichens from a standardised monitoring across Switzerland. EnviDat. doi:10.16904/envidat.491.