A population is defined strictly by a name, a size, a sexual system
(dioecy or hermaphodite), and the three objects defined previously:
genome, mutation matrix and selection. In addition to that, it is
possible to define
- a selfing rate (by default equal to 0)
- a vector of initial genotypic frequencies
- a demography
Two demographic regimes are possible: no demography, i.e. a fixed population
size, or demography, i.e. a population where the size fluctuates
stochastically. The boolean argument `demography` is used to define whether
there should be stochasticity. For a fixed population size, it is therefore
sufficient to define that `demography = FALSE` (default) and to set the
desired population size with the `popSize` parameter.
For a fluctuating demography, `demography` must be `TRUE` and three other
parameters are then needed: the initial population size (`initPopSize`),
the population growth rate (`growthRate`) and the carrying capacity of the
population (the population size, `popSize`).
It is also possible to avoid defining a population size altogether, by
setting off the genetic drift (`drift` parameter). This will allow the
model to be simulated deterministically.