Description Usage Arguments Details Value References Examples
View source: R/range.calculations.intervals.R
Categorise per interval taxon types using boundary crosser categories based on presence/absence data
1 | interval.types.bc.pa(presence.absence, intervals)
|
presence.absence |
Dataframe of presence/absence data. Each row represents a taxon and each column represents a time interval from oldest to youngest. |
intervals |
Dataframe of geological intervals. |
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 12 13 14 15 16 | set.seed(123)
# simulate tree
t = TreeSim::sim.bd.taxa(100,1,0.01,0.005)[[1]]
# simulate species
sp = FossilSim::sim.taxonomy(t)
# simulate fossils
f = FossilSim::sim.fossils.poisson(1, taxonomy = sp)
f = FossilSim::sim.extant.samples(f, taxonomy = sp)
# generate presence.absence matrix
pa = presence.absence.matrix(f, stages)
# categorise interval types
interval.types.bc.pa(pa, stages)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.