computeBetweenness: Betweenness centrality of a rooted binary phylo tree.

Description Usage Arguments See Also

View source: R/Centralities.R

Description

computeBetweenness computes the betweenness centrality of a rooted binary phylo tree.

Usage

1
computeBetweenness(tree, weight = FALSE)

Arguments

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; however, they do not change the result!

See Also

Other network science-based tree shape statistics: computeCloseness, computeDiameter, computeEigenvector, computeFarness, computeWienerIndex


Leonardini/treeCentrality documentation built on April 7, 2020, 3:18 p.m.