M: M

Description Usage Arguments Value References Examples

Description

This calculates M (as defined in Pompei et al., 2012), a measure of asymmetry based on the topological distance, M_i, between tip i and the root:

M = \frac{1}{N} ∑_{i \in \mathcal{L}} {M_i}.

This is equivalent to Sackin's index divided by the number of tips (also known as the normalised Sackin index). See also sackin

Usage

1
M(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]]
M(tree)

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