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


thijsjanzen/nodeSub documentation built on Nov. 15, 2023, 2:44 p.m.