bind.tip {phytools} | R Documentation |
Functions adds a new tip to the tree. If the tree is ultrametric and no branch length is specified, then edge.length
is scaled so that the tree remains ultrametric after the new tip is added.
bind.tip(tree, tip.label, edge.length=NULL, where=NULL, position=0)
tree |
receptor tree. |
tip.label |
a string containing the species name for the new tip. |
edge.length |
edge length for the new tip (a scalar). |
where |
node number to attach new tip. If |
position |
distance below node to add tip. |
Wrapper function for 'ape' bind.tree
.
An object of class "phylo"
.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.