Obtain a uniform random sample of fossil occurrences.
an object of class "fossils" that corresponds to fossil occurrences.
the proportion of all fossil samples to return in the subsample.
an object of class "fossils" containing the subsampled fossil occurrences.
t = TreeSim::sim.bd.taxa(10, 1, 0.1, 0.05)[] f = sim.fossils.poisson(0.1, t, root.edge = FALSE) subsample.fossils.uniform(f, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.