Description Usage Arguments See Also Examples
Disperses individuals of specified ages
according to a user defined connectivity matrix. Consider using the function larvaldispersal
for dispersing larvae as that function also incorporates mortality linked to habitat carrying capacity.
1 |
fish |
a matrix of fish numbers by site (rows) and by age (columns). Can easily be generated by |
cm |
a connectivity matrix containing the probability of dispersing from each starting location (rows) to each end location (columns). Can easily be generated by |
ages |
age of fish to be dispersed |
1 2 3 4 5 6 7 8 9 10 11 | cells=5000
# homogeneous dispersal
cm <- matrix(1/cells,nrow=cells,ncol=cells)
fish <- initpop(initial_abun=250*10^6,cells=cells,maxage=50,rate=0.7)
fish <- dispersal(fish,cm,ages=5:50)
# exponential dispersal kernal
cm <- initcm(domain=BESTMPA_domain,e_fold=75000,cell_size=20000)
fish <- initpop(initial_abun=250*10^6,cells=length(BESTMPA_domain),maxage=50,rate=0.7)
fish <- dispersal(fish,cm,ages=5:50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.