Description Usage Arguments See Also
computeDiameter
computes the diameter of a rooted binary phylo tree.
1 | computeDiameter(tree, weight = FALSE)
|
tree |
A phylo tree; needs to be binary and rooted, but the root can be arbitrary. |
weight |
A logical scalar; if TRUE, branch lengths are used; if a root edge is present, it is ignored! |
Other network science-based tree shape statistics: computeBetweenness
,
computeCloseness
,
computeEigenvector
,
computeFarness
,
computeWienerIndex
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.