emigration: Function to execute emigration on a pops object
Description
emigration process on all population in one go
Usage
emigration(xp, perc.mig, emi.m, emi.table = NULL)
Arguments
xp
all pops combined in a list
perc.mig
percentage if migrating individuals
emi.m
emigration probability (normally based on cost dispersal distance)
emi.table
a fixed number of migrating individuals can be specified (overrides emi.m)
Value
a list, first entry are updated pops, second entry the number of disperserin a matrix