phylo2pd: Converting a phylogenetic tree of phylo object to total...

View source: R/edd_sim_utilities.R

phylo2pdR Documentation

Converting a phylogenetic tree of phylo object to total lengths of all branches in the tree

Description

Function to convert a phylogenetic tree with extant species to phylogenetic diversity

Usage

phylo2pd(phy)

Arguments

phy

a phylo object that only contains extant species extinct at the present

Value

a numeric value of phylogenetic diversity

Author(s)

Tianjian Qin


EvoLandEco/eve documentation built on Sept. 14, 2024, 12:04 a.m.