Abstract

Diversity metrics are widely used to better understand biodiversity patterns and help with species conservation. Taxonomic diversity alone may lack valuable information on community ecology, such as the importance of species to ecosystem functioning and evolutionary history. By combining taxonomic, functional, and phylogenetic diversity, we can complement our knowledge, particularly under climate change, by improving conservation strategies and helping to maintain biodiversity while reducing costs in the decision‐making process. However, the main tools used for computing these metrics may demand significant processing power because of their reliance on matrices, ultimately restricting their applicability. Here, we present divraster, an R package (www.r‐project.org) to calculate diversity metrics directly from species rasters, with the aim of reducing memory usage and processing power, especially when working with large datasets such as large areas, high resolution, or a high number of species. The main function of divraster can calculate changes in a given community between distinct temporal scenarios, such as present and future climate scenarios, working with taxonomic, functional, and phylogenetic diversity. It includes the partition of temporal beta diversity, making it particularly useful in ecological niche models and other macroecology studies. Additionally, divraster performs spatial calculations for both alpha and beta diversity, which are helpful in studies where time is not an issue. We also conducted a performance comparison with packages that provide similar functions and demonstrated that the divraster package outperforms them in most cases regarding memory allocation and processing time.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.