Learn R Programming

picante (version 0.4-0)

pd: Calculate Faith's Phylogenetic Diversity

Description

Calculate the sum of the total branch lengths for one or multiple samples.

Usage

pd(samp, tree)

Arguments

samp
Community data matrix
tree
A phylo tree object

Value

  • Returns a dataframe of the PD and species richness values for all samples

References

Faith D.P. (1992) Conservation evaluation and phylogenetic diversity. Biological Conservation, 61, 1-10

See Also

psr