.rast.pd.B | R Documentation |
Calculate the sum of the branch length for species present in raster data.
.rast.pd.B(x, edge.path, branch.length, filename = "", ...)
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. |
edge.path |
matrix. Matrix representing the paths through the tree from
root to each tip. See |
branch.length |
numeric. A Named numeric vector of branch length for
each species. See |
filename |
character. Output filename |
... |
additional arguments passed for terra::app |
SpatRaster
Neander Marcel Heming and Gabriela Alves-Ferreira
Faith, D. P. (1992). Conservation evaluation and phylogenetic diversity. Biological conservation, 61(1), 1-10.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.