Usage
dm.addSpeciationEvent(dm, min.time, max.time, fixed.time, in.population = 1,
new.time.point = T, new.time.point.name = NA, time.point = NA)
Arguments
dm
The demographic model to which the split should be added.
min.time
If you want to estimate the time point, this will be
used as the smallest possible value.
max.time
Same as min.time, but the largest possible value.
fixed.time
If specified, the time.point will not be estimated,
but assumed to have the given value.
in.population
The number of the population in which the spilt
occurs. See above for more information.
new.time.point
If 'TRUE' a new parameter will be created using the
arguments 'min.time' and 'max.time' or
'fixed.time'. It will be named 'new.time.point.name'.
If 'FALSE' the argument 'time.point'
will be evaluated instead.
new.time.point.name
The name for the new time point.
time.point
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