B1: B1

Description Usage Arguments Value References Examples

Description

This calculates B1 for a phylogenetic tree. For each internal node j, we consider the leaf with the largest topological distance Z_j. Then,

B_1 = ∑_{j \in \mathcal{I}-root} {Z_j^{-1} }.

Usage

1
B1(tree)

Arguments

tree

A tree of class phylo or treeshape.

Value

An object of class numeric.

References

Examples

1
2
3
N=30
tree<-rtreeshape(1,tip.number=N,model="pda")[[1]]
B1(tree)

bdearlove/treeImbalance documentation built on May 12, 2019, 3:39 a.m.