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.


thej022214/hisse documentation built on Sept. 20, 2023, 12:40 a.m.