fossils.to.BEAST.start.tree: Create a suitable starting tree for a DPPDIV style FBD...

Description Usage Arguments Value Examples

View source: R/BEAST.output.R

Description

If complete = FALSE, only the extant taxa are used to construct the tree, resulting in a DPPDIV style analysis in which the extant topology is fixed and fossils can float in the tree.

Usage

1

Arguments

tree

an object of class "phylo", representing the tree upon which the fossil occurrences were simulated.

fossils

an object of class "fossils" that corresponds to fossil occurrences for the "tree" argument.

complete

logical, if TRUE then the tree are built for the complete tree, if FALSE then the tree is built for the crown clades only.

Value

a string representing the starting tree in newick format.

Examples

1
2
3
t = TreeSim::sim.bd.taxa(10, 1, 0.1, 0.05)[[1]]
f = sim.fossils.poisson(0.1, t, root.edge = FALSE)
fossils.to.BEAST.start.tree(t,f, complete = FALSE)

rachelwarnock/fossilsim documentation built on Oct. 27, 2019, 9:26 a.m.