sackin.phylo | R Documentation |
Finds the Sackin index for a tree.
Note that the package apTreeshape
has a function sackin
to compute the Sackin index with additional options to normalise it based on the model;
we include this simple function here for convenience within this package, and for use on objects of class phylo
and phylo4
.
sackin.phylo(tree, normalise = FALSE)
tree |
a tree of class |
normalise |
option to normalise the result, default is |
The Sackin index of the tree.
Michael Boyd mboyd855@gmail.com
Michelle Kendall michelle.louise.kendall@gmail.com
## Sackin index of a random tree with 10 tips: sackin.phylo(rtree(10)) ## normalised Sackin index: sackin.phylo(rtree(10), normalise=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.