stairs: Stairs

Description Usage Arguments Value Author(s) Examples

View source: R/stairs.R

Description

Calculates the staircase-ness measure defined in Norstrom et al., Evolutionary Bioinformatics online, 8:261 (2012) doi: 10.4137/EBO.S9738.

Usage

1
stairs(tree)

Arguments

tree

a tree of class phylo or phylo4. The tree should be binary and rooted; if not it will be coerced into a binary rooted tree using multi2di, if possible.

Value

Two numbers corresponding to the two staircase-ness measures for a tree. These are two related measures:

Author(s)

Michelle Kendall [email protected]

Examples

1
2
3
## Find the staircase-ness measures in a random tree with 20 tips:
stairs(rtree(20))
 

phyloTop documentation built on Oct. 10, 2017, 5:06 p.m.