remove.stem.fossils {FossilSim}R Documentation

Remove fossil samples that occur in the stem

Description

Remove fossil samples that occur in the stem

Usage

remove.stem.fossils(fossils, tree)

Arguments

fossils

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

tree

an object of class "Phylo".

Value

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

Examples

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

[Package FossilSim version 2.3.3 Index]