Description Usage Arguments Value Author(s) See Also Examples
Simulating the protracted speciation process using the Doob-Gillespie algorithm. This function differs from pbd_sim_cpp that 1) it does not require that the speciation-initiation rate is the same for good and incipient species, and 2) that it simulates the exact protracted speciation process, and not the approximation made by the coalescent point process. This function provides also the conversion to the approximation as output.
1 2 3 4 5 6 7 |
pars |
Vector of parameters: |
age |
Sets the age for the simulation |
soc |
Sets whether this age is the stem (1) or crown (2) age |
plotit |
Sets whether the various trees produced by the function should be plotted or not |
limitsize |
Sets a maximum to the number of incipient + good species that are created during the simulation; if exceeded, the simulation is aborted and removed. |
out |
A list with the following elements: |
Rampal S. Etienne
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.