powered by
Remove fossil samples that occur in the stem
remove.stem.fossils(fossils, tree)
an object of class "fossils", containing only the fossil samples that occur in the crown.
an object of class "fossils" that corresponds to fossil occurrences for "tree".
an object of class "Phylo".
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