first.last.appearances: Work out first and last appearances

Description Usage Arguments Value Examples

View source: R/range.calculations.tree.wide.R

Description

Work out first and last appearances

Usage

1

Arguments

fossils

Dataframe of sampled fossils (sp = unique species ID. h = max interval age)

Value

Dataframe containing the first and last appearances for each lineage, represented by the max secure age of the sampling horizon or interval.

Examples

1
2
3
4
5
6
# simulate tree
t = ape::rtree(10)
# simulate fossils
f = FossilSim::sim.fossils.poisson(1, t)
# work out first & last appearances
first.last.appearances(f)

rachelwarnock/fbdR documentation built on Aug. 23, 2019, 3:39 a.m.