GetFossils: Get fossilized birth-death samples

View source: R/fossilUtilities.R

GetFossilsR Documentation

Get fossilized birth-death samples

Description

Samples a simulated tree of extinct and extant lineages according to the preservation rate of the fossilized birth-death process.

Usage

GetFossils(phy, psi=0.1)

Arguments

phy

a complete phylogeny that includes both extant and extinct lineages.

psi

the preservation rate for which lineages will be sampled under a fossilized birth-death process.

Value

Returns a table of sampled lineages.


hisse documentation built on Feb. 16, 2023, 10:26 p.m.