Learn R Programming

hisse (version 2.1.11)

GetFossils: 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)

Value

Returns a table of sampled lineages.

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.