View source: R/integrate-mig-mat.R
integratedDispMat | R Documentation |
calculates the amount of dispersal into a cell based on the popsize and distance of other cells
integratedDispMat(
xnum = 4,
ynum = 4,
xsz = 100,
ysz = 100,
sshp = 1,
ssc = 10,
mix = 0.1,
nmean = 100,
nvar = (nmean),
approx = 5
)
returns a matrix with the centermost value corresponding to the source and the surrounding cells represent the probability of dispersal into those cells. Essentially this produces the dispersal kernel for a single source population. The migration matrix could be created by moving the center of this functions output to each population to determine dispersal into the others. The approx parameter is a factor >=1 that determines how many times to subset the grid squares to better approximate the polar-cartesian conversion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.