R-CMD-check

phylospatial

phylospatial is an R package for spatial phylogenetic diversity analysis. The field of spatial phylogenetics focuses on accounting for evolutionary relationships among taxa when describing biodiversity patterns, an approach that has a number of advantages over species-based accounting. This package provides a set of functions to build and analyze phylospatial data:

A key difference between phylospatial and other spatial phylogenetic R libraries is that all functions in this package work not only with binary presence-absence data but also with quantitative community data types including occurrence probabilities or abundances. In particular, support for occurrence probabilities, such as from species distribution models, has not been implemented in other phylogenetic diversity tools and was a central motivation for the creation of this package. Probability, abundance, and binary data are incorporated in distinct ways in all computations throughout the package, avoiding the need to discard information by thresholding continuous data.

Vignettes

Installation

# you can install the package from CRAN:
install.packages("phylospatial")

# or the development version from GitHub:
remotes::install_github("matthewkling/phylospatial")