| diameter | R Documentation |
The Diameter of a tree is defined as the maximum length of a shortest path. When taking branch lengths into account, this is equal to twice the crown age. When the tree is unrooted, we add 1 to the unweighted diameter, to reflect traversing the (virtual) root.
diameter(phy, weight = FALSE)
phy |
phylo object or ltable |
weight |
if TRUE, uses branch lengths. |
Diameter
Chindelevitch, Leonid, et al. "Network science inspires novel tree shape statistics." PloS one 16.12 (2021): e0259877.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.