Description Usage Arguments Value Note Author(s)
This is a general function that moves migrants among strata according to either a constant migration rate or a set of migration rates defined by a migration matrix. All this does is adjust the stratum labels of individuals, no mating is conducted.
1 |
data |
A |
stratum |
The column designating stratum. |
m |
Either a rate of migration as a numeric OR a migration matrix whose columns and row names are the same as those in the passed stratum column. |
relabel |
A flag (default TRUE) that relabels individuals after they have been moved between populations. Used for testing only. |
A data.frame
with all the data the same except for
the shuffled stratum.
This is a simple transition matrix approach to migration. The
migration rate times the population size MUST result in at least
a whole number or else no migrants are produced. It uses round()
to find the whole number of individuals to migrate. This means that
if you have a migration rate that has less than one individual it
will NEVER occur, not that it will occur at a less than one individual
per generation frequency. You must adjust your migration rates
directly for that (e.g., the user has the entire power, not the
this function).
Rodney J. Dyer rjdyer@vcu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.