drop.leaves | R Documentation |
Drops all the leaves from a tree, leaving behind only the structure leading to internal nodes.
drop.leaves(tree, ...)
tree |
object of class |
... |
optional arguments. Presently includes only the logical value |
An object of class "phylo"
.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.