Learn R Programming

FossilSim (version 2.4.1)

prune.fossil.tips: Remove fossil lineages from a tree

Description

Remove fossil lineages from a tree

Usage

prune.fossil.tips(tree)

Value

an object of class "Phylo". If fossil lineages were found in the tree these will be pruned, if not then the original tree is returned.

Arguments

tree

an object of class "Phylo".

Examples

Run this code
t = TreeSim::sim.bd.taxa(10, 1, 0.1, 0.05)[[1]]
prune.fossil.tips(t)

Run the code above in your browser using DataLab