dispersal: Adult or larval dispersal

Description Usage Arguments See Also Examples

Description

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.

Usage

1
dispersal(fish, cm, ages = 5:50)

Arguments

fish

a matrix of fish numbers by site (rows) and by age (columns). Can easily be generated by initpop

cm

a connectivity matrix containing the probability of dispersing from each starting location (rows) to each end location (columns). Can easily be generated by initcm

ages

age of fish to be dispersed

See Also

larvaldispersal

Examples

 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)

remi-daigle/BESTMPA documentation built on May 27, 2019, 4:55 a.m.