View source: R/get_sim_bd_twin_tree_fun.R
get_sim_bd_twin_tree_fun | R Documentation |
The function sim_bd_twin_tree simulates a twin tree using the Birth-Death (BD) speciation model.
get_sim_bd_twin_tree_fun(method = "random_tree", n_replicates = 10000)
method |
determines how to create the twin tree
|
n_replicates |
number of replicas to evaluate in order to create the twin tree |
a function
Richèl J.C. Bilderbeek
Use create_sim_yule_twin_tree_fun to get a function to produce a Yule tree. Use create_copy_twtr_from_true_fun to get a function to simply copy the tree
f <- get_sim_bd_twin_tree_fun()
phylo_in <- ape::read.tree(text = "((A:1, B:1):1, C:2);")
f(phylo_in)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.