Learn R Programming

FossilSim (version 2.4.1)

remove.stem.fossils: Remove fossil samples that occur in the stem

Description

Remove fossil samples that occur in the stem

Usage

remove.stem.fossils(fossils, tree)

Value

an object of class "fossils", containing only the fossil samples that occur in the crown.

Arguments

fossils

an object of class "fossils" that corresponds to fossil occurrences for "tree".

tree

an object of class "Phylo".

Examples

Run this code
t = TreeSim::sim.bd.taxa(10, 1, 0.1, 0.05)[[1]]
f = sim.fossils.poisson(0.1, t)
remove.stem.fossils(f, t)

Run the code above in your browser using DataLab