Usage
dm.addSymmetricMigration(dm, lower.range, upper.range, fixed.value,
par.new = T, new.par.name = "M", parameter, time.start = "0")
Arguments
dm
The demographic model to which migration events should be added.
par.new
If 'TRUE' a new parameter will be created using the
arguments 'lower.range' and 'upper.range' or
'fixed.value'. It will be named 'new.par.name'.
If 'FALSE' the argument 'parameter'
will be evaluated instead.
lower.range
If you want to estimate the migration parameter (see note
upper.range
Same as lower.range, but the largest possible value.
fixed.value
If specified, the migration rate will not be estimated,
but assumed to have the given value.
new.par.name
The 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 "M" will use
an parameter with name M that you have previously
created. You can also use R expression here,
time.start
The time point at which the migration with this rate
starts.