Internal function for posterior.evolrate.
splitTree(tree, split)Two trees in a list.
phylogenetic tree.
split encoded as a list with two elements: node: the node number tipward of the split; and bp: the position along the branch to break the tree, measured from the rootward end of the edge.
Liam Revell liam.revell@umb.edu
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.
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.