ProcessSimSample: Process fossilized birth-death sample of lineages

View source: R/fossilUtilities.R

ProcessSimSampleR Documentation

Process fossilized birth-death sample of lineages

Description

Takes output from GetFossils and places extinct lineages in the tree and produces a properly formatted table of fossil samples from lineages that survive to the present (k fossils).

Usage

ProcessSimSample(phy, f)

Arguments

phy

a complete phylogeny that includes both extant and extinct lineages.

f

the table of sampled lineages under the fossilized birth-death process obtained from GetFossils.

Value

Returns an object that contains:

$phy

a tree of extant taxa and sampled extinct tips.

$k.samples

a table of k fossils sampled, formatted to be input into MiSSE, hisse, MuHiSSE.


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