Computes the sum of branch lengths on a phylogenetic tree.
Usage
EH(phyl, select = NULL)
Arguments
phyl
an object inheriting the class phylo (see package ape), phylo4 (see package phylobase) or hclust.
select
a vector containing the numbers of the leaves (species) which must be considered in the computation of Phylogenetic Diversity (PD) (or merely sum of branch lengths on the tree). This parameter allows the calculation of PD for a subset of species (including the branch between the subtree and the most ancient node of the full tree).