varM: varM

Description Usage Arguments Value References Examples

Description

This calculates σ^2_M, a measure of asymmetry based on the topological distance, $M_i$, between tip $i$ and the root:

σ^2_M = \frac{1}{N} ∑_{i \in \mathcal{L}} {(M_i-M)^2} .

Usage

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

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