View source: R/simulate_burnin.R
simulate_burnin | R Documentation |
Simulates trait evolution during the burn-in period.
simulate_burnin(xstart, ntimes, pars, mu = 0.01, sigma = 0.1)
xstart |
Starting trait value |
ntimes |
The number of time steps to simulate for |
pars |
An unevaluated parameter-list (e.g. as returned by
|
mu |
The mutation rate of the trait (per time step) |
sigma |
The (standard deviation of) mutational step size upon mutation |
See ?simulate
.
A tibble containing the trait value of the population at each time point
find_equilibrium_burnin
, get_gradient_burnin
pars <- get_default_pars()
simulate_burnin(0, 10, pars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.