tree.length.to.root: Returns the length from the tree root to the given node. The...

Description Usage Arguments Value

Description

Returns the length from the tree root to the given node. The input node can either be input as a node index or a node label.

Usage

1
  tree.length.to.root(phylo, node)

Arguments

phylo

input phylo object

node

integer or character. When integer, the node index; when character, the node label

Value

numeric, the total branch length separating the tree root and the given node.


gjuggler/ggphylo documentation built on May 17, 2019, 6:05 a.m.