Usage
dm.addGrowth(dm, min.growth.rate, max.growth.rate, fixed.growth.rate,
par.new = T, new.par.name = "alpha", parameter, population,
at.time = "0")
Arguments
dm
The demographic model to which the size change should be added.
min.growth.rate
If you want to estimate the growth rate, this will be
used as the smallest possible value.
max.growth.rate
Same as min.growth.rate, but the largest possible value.
fixed.growth.rate
If specified, the growth rate will not be estimated,
but assumed to have the given value.
par.new
If 'TRUE' a new parameter will be created using the
arguments 'min.growth.rate' and 'max.growth.rate' or
'fixed.growth.rate'. It will be named 'new.par.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 "alpha" will use
an parameter with name tau that you have previously
created. You can also use R expression
at.time
The time point at which the size changes.