Rdocumentation
powered by
Learn R Programming
ggphylo (version 0.1)
tree.branch.length: Extracts the length of the branch above the given node. Returns 0 if the node is root.
Description
Extracts the length of the branch above the given node. Returns 0 if the node is root.
Usage
tree.branch.length(phylo, node)
Arguments
phylo
input phylo object
node
integer, the node's index
Value
numeric, the branch length of the edge leading to the given node. May be NA.