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, 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 whose size is changed.
time
The time point at which the size changes.
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.