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

Description Usage Arguments Value Examples

View source: R/subsampling.R

Description

Remove fossil samples that occur in the stem

Usage

1

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

1
2
3
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 April 6, 2021, 1:06 a.m.