.rast.pe.B {phyloraster}R Documentation

Calculate phylogenetic endemism for a raster

Description

Calculate phylogenetic endemism using rasters as input and output.

Usage

.rast.pe.B(x, inv.R, branch.length, filename = "", ...)

Arguments

x

SpatRaster. A SpatRaster containing presence-absence data (0 or 1) for a set of species. The layers (species) will be sorted according to the tree order. See the phylo.pres function.

inv.R

SpatRaster. Inverse of range size. See inv.range

branch.length

numeric. A Named numeric vector of branch length for each species. See phylo.pres

filename

character. Output filename

...

additional arguments passed for terra::app

Value

SpatRaster

References

Rosauer, D. A. N., Laffan, S. W., Crisp, M. D., Donnellan, S. C., & Cook, L. G. (2009). Phylogenetic endemism: a new approach for identifying geographical concentrations of evolutionary history. Molecular ecology, 18(19), 4061-4072.


[Package phyloraster version 2.1.0 Index]