tiplength: Extracts the length of a tip from a tree

Description Usage Arguments Value Author(s)

Description

tiplength returns the length of a tip of a tree, given either (a) the tip name or (b) the index of the tip (in the order of the tip labels in the tree).

Usage

1
tiplength(tree, tipname)

Arguments

tree

a phylogenetic tree (as a phylo object)

tipname

the tip name, as a character string, or a numeric index

Value

The tip length (as a double).

Author(s)

Simon Frost (sdwfrost@gmail.com)


Hackout3/saphy documentation built on May 6, 2019, 10:52 p.m.