feat_size_change: Adds an instantaneous change of the population size of one
population to a model.
Description
This function changes the effective population size of one
population. The change is performed at a given time point
and applies to the time interval further on into
the past from this point. The population size is set to a
fraction of N0, the present day size of population one.
Usage
feat_size_change(new_size, population = 1, time = "0")
Arguments
new_size
A parameter giving the new size of the
population, as a factor of N0.
population
The number of the population whichs size changes.
Can also be set to "all". Then the size changes applies to all
populations.
time
The time at which the populations size is changed.
Value
A feature which can be added to a model.
Details
If you want to add a slow, continuous change over some time,
then use feat_growth.