reduce_tree: Function to remove speciation events occuring after an...

View source: R/count_hidden.R

reduce_treeR Documentation

Function to remove speciation events occuring after an extinction event. Extinct species are pruned randomly, such that only a single extinct species per branching event (if any extinct species) remains.

Description

Function to remove speciation events occuring after an extinction event. Extinct species are pruned randomly, such that only a single extinct species per branching event (if any extinct species) remains.

Usage

reduce_tree(tree)

Arguments

tree

phylo object

Value

pruned tree


nodeSub documentation built on Nov. 14, 2023, 5:10 p.m.