[R PACKAGE] A toolkit for spatial phylogenetic analysis.
phylospatial
is an R package for spatial phylogenetic analysis, a field that focuses on accounting for evolutionary relationships among taxa when describing biodiversity patterns. The package grew out of code I developed for research on plant diversity and conservation in California. It provides a flexible framework for analyzing biodiversity patterns that incorporates both geographic and evolutionary dimensions.
A key innovation is that unlike other spatial phylogenetic libraries, all functions in this package work with continuous community data (occurrence probabilities or abundances) in addition to binary presence-absence data. These quantities are treated as weights in all computations, avoiding the need to discard information by thresholding continuous data.
The package is particularly useful for:
The package is available on CRAN and includes a comprehensive set of vignettes covering data handling, alpha diversity, beta diversity, and conservation prioritization workflows. The development version is available on GitHub, where you can also find detailed documentation and examples.