fossils.to.BEAST.start.tree | R Documentation |
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.
fossils.to.BEAST.start.tree(tree, fossils, complete = FALSE)
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. |
a string representing the starting tree in newick format.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.