.rexp.coal | R Documentation |
Draw exponential waiting time to next coalescent event of Lineages within a given Compartment. Note that if the waiting time exceeds this Compartment's transmission event, it will be discarded by sim.inner.tree().
.rexp.coal(k, comp, time)
k: |
integer, number of extant lineages |
comp: |
R6 object of class Compartment |
time: |
double, current simulation (reverse) time |
Random variate from waiting time distribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.