computeFarness: Farness of a rooted binary phylo tree.

Description Usage Arguments See Also

View source: R/Centralities.R

Description

computeFarness computes the faress of each node in a rooted binary phylo tree.

Usage

1
computeFarness(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; if a root edge is present, it is ignored!

See Also

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


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