Published April 4, 2022 | Version v1

comspat: an R package to analyze within-community spatial organization using species combinations

  • 1. University of Camerino
  • 2. Centre for Ecological Research

Description

The diversity of species combinations observable in sampling units reflects a species' uneven distribution and preference for specific abiotic and biotic conditions – a phenomenon most commonly expressed in terms of ecological assembly rules of plant communities and other sessile organisms (e.g., subtidal algae, invertebrates and coral reefs). We present comspat, a new R package that uses grid or transect data sets to measure the number of realized (observed) species combinations (NRC) and the Shannon diversity of realized species combinations (compositional diversity; CD) as a function of spatial scale. NRC and CD represent two measures from a model family developed by Pál Juhász-Nagy based on Information Theory. Classical Shannon diversity measures biodiversity based on the number and relative abundance of species, whereas the specific version of Shannon diversity presented here characterizes biodiversity and provides information on species coexistence relationships; both measures operate at fine-scale within the sampling unit or within the community. comspat offers two commonly applied null models, complete spatial randomness and random shift, to disentangle the textural, intraspecific, and interspecific effects on the observed spatial patterns. Combined, these models assist users in detecting and interpreting spatial associations and inferring assembly mechanisms. Our open-sourced package provides a vignette that describes the method and reproduces the figures from this paper to help users contextualize and apply functions to their data.

Notes

The most recent version of the comspat package can be accessed from github's public repository (https://github.com/jamestsakalos/comspat). The authors also plan to submit the package to The Comprehensive R Archive Network.

Files

Files (24.8 kB)

Name Size Download all
md5:5443ed6447546e2f90bc2a10c0ce8e03
1.7 kB Download
md5:8cd1519f22a2d0eb571baee62c11151d
1.8 kB Download
md5:47d8f8c31345870180d107d645cdda8a
2.1 kB Download
md5:d3ea9dd71ca60950b24912433444b8e0
14.8 kB Download
md5:4ac5e16084b3e1a9a7bec2c84ddee8cd
2.3 kB Download
md5:a10423211f5e4c7506b38ba50a1673da
2.0 kB Download

Additional details

Related works

Is derived from
10.5281/zenodo.6338037 (DOI)