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

View source: R/subsampling.R

remove.stem.fossilsR 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, root.edge = FALSE)
remove.stem.fossils(f, t)

FossilSim documentation built on Oct. 5, 2023, 5:08 p.m.