simulate.coalmodel: Simulates data according to a demographic model
Description
Simulates data according to a demographic model
Usage
## S3 method for class 'coalmodel':
simulate(object, nsim = 1, seed, ..., pars = numeric(0),
cores = 1)
Arguments
object
The coalescent model to be simulated
nsim
currently unused
seed
A random seed that is set before simulation.
...
currently unused
pars
Values for parameters specified with par_named or
par_range. Should be a named numeric vector.
cores
The number of cores that the independent repetitions from
nsim will be distributed on.
Must be 1 on Windows, and should also be 1 when using R
in a graphical environment (e.g. Rstudio).