View source: R/create_generative_trees.R
create_bd_tree | R Documentation |
Create a (constant-rate) birth-death (BD) tree
create_bd_tree(n_taxa = 6, crown_age = 10, n_0 = 2, mu = 0.1)
n_taxa |
number of tree tips |
crown_age |
the fixed crown age of the posterior. Set to NA to let it be estimated |
n_0 |
number of starting species |
mu |
per-species extinction rate |
a phylogenetic tree of type phylo
Giovanni Laudanno, Richèl J.C. Bilderbeek
n_taxa <- 31
crown_age <- 41
phylogeny <- create_bd_tree(
n_taxa = n_taxa,
crown_age = crown_age
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.