Description Usage Arguments Value
Updates branch-length by adding to time to every branch; also updates trait values using Brownian motion simulation of the same time period. This is used at the beginning of the simulation to setup the first split of two species, and to grow branches within the main loop (with no trait evolution).
1 | update_br_lens(tree_ob, add_br_len, e_var = NULL)
|
tree_ob |
The simulation object to update |
add_br_len |
How much branch-length should be added (in units of simulation time) |
e_var |
Vector of evolutionary rates of length n_trait, where n_trait is the number of traits being simulated |
An updated simulation object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.