Description Usage Arguments Details Value References Examples
View source: R/range.calculations.tree.wide.R
Categorise per interval taxon types using boundary crosser categories for a set of equal length intervals
1 | interval.types.bc(fossils, max.age, strata, return.useful = FALSE)
|
fossils |
Dataframe of sampled fossils (sp = unique species ID. h = ages.) |
max.age |
Maximum age of the oldest stratigraphic interval |
strata |
Number of stratigraphic intervals |
return.useful |
If TRUE return the branch labels used to define taxon types |
Taxa types are detailed in Foote (2000).
Nbt - bottom and top boundary crossers
Nbl - bottom boundary crossers only (e.g. species goes extinct)
NFt - top boundary crossers only (e.g. species originates)
NFl - species originates and becomes extinct during the same interval
dataframe of per interval taxon types.
Foote, M. 2000. Origination and extinction components of taxonomic diversity: General problems. Paleobiology 26: 74-102.
1 2 3 4 5 6 7 8 9 10 11 | # simulate tree & fossils
t = ape::rtree(20)
# budding speciation
sp = FossilSim::sim.taxonomy(t)
# simulate fossils
max = FossilSim::tree.max(t)
f = FossilSim::sim.fossils.intervals(taxonomy = sp, max.age = max, strata = 10, probabilities = rep(0.5,10), use.exact.times = FALSE)
# add extant occurrences
f = FossilSim::sim.extant.samples(f, taxonomy = sp)
# categorise interval types
interval.types.bc(f, max, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.