splitTree {phytools} | R Documentation |
Split tree at a point
Description
Internal function for posterior.evolrate
.
Usage
splitTree(tree, split)
Arguments
tree |
phylogenetic tree. |
split |
split encoded as a list with two elements: |
Details
This function splits the tree at a given point, and returns the two subtrees as an object of class "multiPhylo"
.
Probably do not use this unless you can figure out what you are doing.
Value
Two trees in a list.
Author(s)
Liam Revell liam.revell@umb.edu
References
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
[Package phytools version 2.3-0 Index]