Phylogenetic Diversity (PD, Faith 1992), Evolutionary
Distinctiveness (ED, Isaac et al. 2007), Phylogenetic Endemism (PE,
Rosauer et al. 2009; Laffan et al. 2016), and Weighted Endemism (WE,
Laffan et al. 2016) for presence-absence raster. Faith, D. P. (1992)

phyloraster is an R package to calculate measures of endemism and evolutionary diversity using rasters of presence-absence as input, allowing to join the results derived from species distribution models (SDMs) with phylogenetic information.
The CRAN version of the package can be installed using:
install.packages("phyloraster")
The development version of phyloraster can be downloaded from GitHub using the following code:
devtools::install_github("gabferreira/phyloraster")
Example usage and information about the package can be found at the package's webpage or in the vignette vignette("phyloraster-vignette")
Please cite both the package and the article describing the methods in your publications:. Here is an example:
Article recently published in Ecography:
Alves-Ferreira G, Mota FMM, Talora DC, Oliveira, C, Solé, MK, Heming NM (2024). phyloraster: an R package to calculate measures of endemism and evolutionary diversity for rasters. Ecography. doi: 10.1111/ecog.06902.
Package published in CRAN:
Alves-Ferreira G, Heming NM, Mota FMM. (2024). phyloraster: Evolutionary Diversity Metrics for Raster Data. R package version 2.0. doi: 10.32614/CRAN.package.phyloraster
For more information:
citation("phyloraster")
If you have any question or find any bug, let us know through the topic Issues.