Description Usage Arguments Examples
This function generates a tree that contains a defined number of sampled taxa for each of the two trait states.
1 |
pars |
a vector of parameters that describe the macroevolutionary processes of the tree. Parameters are in order of speciation rate for trait state 0, speciation rate for trait state 1, extinction rate for trait state 0, extinction rate for trait state 1, transition rate from state 0 to state 1, transition rate from state 1 to state 0. |
N0 |
the number of sampled taxa with trait state 0. |
N1 |
the number of sampled taxa with trait state 1. |
sampling.f |
a vector of sampling fraction of taxa with trait state 0 and trait state 1. |
max.t |
the maximum amount of time, above which tree simulation stops and reports the tree as not being able to coalesce. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.