betaStability: An R package for quantifying beta dissimilarity deviation from environmental expectation as a proxy for community stability
Community stability serves as both an indicator and regulator of ecosystem status and functioning, yet traditional quantification approaches predominantly depend on time-series data that are resource-intensive to collect and often unavailable. To address this limitation, we developed betaStability, an open-source R package that applies a space-for-time deviation-based framework, in which multiple sites sampled during a single survey serve as mutual references to compute expected beta dissimilarity from environmental predictors and then quantify the deviation of observed dissimilarity from expected as a proxy of community stability. The package supports a range of predictive models, including parametric regressions, generalized dissimilarity modeling, and machine learning algorithms. Using datasets from the vegan and rioja packages, we demonstrated strong agreement across all modeling pipelines (ρ > 0.75, p < 0.005). Validation against North American Breeding Bird Survey data revealed that this single-trial stability estimation was negatively correlated with empirical temporal species turnover (ρ = −0.410, p < 10 −6 ), and positively correlated with temporal stability (ρ = 0.204, p < 10 −5 ). The betaStability package is freely available on CRAN and GitHub, and we anticipate it will serve as a practical assistance in identifying vulnerable ecological sites and supporting conservation management when long-term temporal data are unavailable.
Authors
- Daniel Rios Garza (ORCID: https://orcid.org/0000-0003-3865-2146)
- Ziwei Guo (ORCID: https://orcid.org/0009-0007-0982-9519)
- Xiong Pan
- Li Lin
- Yu Gao
- Lei Dong
- Yi Li
Institutions
- Hohai University (CN)
- Université Paris-Saclay (FR)
- Changjiang Water Resources Commission (CN)
- Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement (FR)
- Changjiang River Scientific Research Institute (CN)
- PRocédés biOtechnologiques au Service de l'Environnement (FR)
Publication Details
- Journal
- Ecological Indicators
- Published
- 2026-11-17
- DOI
- https://doi.org/10.1016/j.ecolind.2026.115834
- Primary Topic
- Ecology and Vegetation Dynamics Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Ministry of Finance