Usage
dm.addSizeChange(dm, min.size.factor, max.size.factor, fixed.size.factor,
par.new = T, new.par.name = "q", parameter, population, at.time = "0")
Arguments
dm
The demographic model to which the size change should be added.
min.size.factor
If you want to estimate the size factor, this will be
used as the smallest possible value.
max.size.factor
Same as min.size.factor, but the largest possible value.
fixed.size.factor
If specified, the size factor not be estimated,
but assumed to have the given value.
par.new
If 'TRUE' a new parameter will be created using the
arguments 'min.size.factor' and 'max.size.factor' or
'fixed.size.factor'. It will be named 'new.time.point.name'
If 'FALSE' the argument 'parameter'
will be evaluated instead.
new.par.name
Name for the new parameter.
parameter
Instead of creating a new parameter, you can also
set the mutation rate to an expression based on existing
parameters. For example setting this to "tau" will use
an parameter with name tau that you have previously
created. You can also use R expression he
at.time
The time point at which the size changes.