Description Usage Arguments See Also
computeWienerIndex
computes the Wiener index of a rooted binary phylo tree.
1 | computeWienerIndex(tree, norm = FALSE, weight = FALSE)
|
tree |
A phylo tree; needs to be binary and rooted, but the root can be arbitrary. |
norm |
A logical scalar; if TRUE, the Wiener index is normalized to give the average path. |
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
,
computeDiameter
,
computeEigenvector
,
computeFarness
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.