View source: R/create_twin_branching_times.R
create_twin_branching_times | R Documentation |
Generate twin branching times given estimated lambda and mu and the original tree
create_twin_branching_times(lambda, mu, phylogeny, n_replicates, method)
lambda |
per-lineage speciation rate |
mu |
per-species extinction rate |
phylogeny |
a phylogeny of class phylo |
n_replicates |
number of replicas to evaluate in order to create the twin tree |
method |
determines how to create the twin tree
|
twin branching times
Giovanni Laudanno, Richèl J.C. Bilderbeek
phylogeny <- ape::read.tree(text = "(((A:1, B:1):1, C:2):1, D:3);")
create_twin_branching_times(
lambda = 0.1,
mu = 1.0,
phylogeny = phylogeny,
n_replicates = 1,
method = "random_tree"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.