Description Usage Arguments Details Value Examples
simulate evolution under the logistic branching model
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Xo |
starting trait |
Ko |
carrying capacity |
SIGMA2_K |
carrying capacity kernel width |
SIGMA2_C |
competition kernel width (wider means no branching) |
R |
growth rate |
MU |
mutation rate |
SIGMA2_MU |
mutation step size |
MAX_TIME |
simulation time |
ENSEMBLES |
number of replicates |
Dt |
sampling time |
dt |
step size |
an R function to call the c code for simulation
a data frame with evolved trajectories
1 | out = logistic(Xo = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.