maxHeight {phyloTop} | R Documentation |
Maximum tree height
Description
Find the maximum height of tips in the tree.
Usage
maxHeight(tree, normalise = FALSE)
Arguments
tree |
a tree of class |
normalise |
option to normalise the result, default is |
Value
An integer giving the maximum height of tips in the tree.
Author(s)
Michelle Kendall michelle.louise.kendall@gmail.com
Caroline Colijn c.colijn@imperial.ac.uk
Examples
## Maximum height of tips in a random tree with 10 tips:
tree <- rtree(10)
plot(tree)
maxHeight(tree)
maxHeight(tree, normalise=TRUE)
[Package phyloTop version 2.1.2 Index]