Calulate a weighted (or unweighted) adjacency matrix. Then weight this value to convert to a dispersal matrix. An element i, j is the proportion of individuals dispersing from i that go to j.
1 | popMatrix(locations, maxDistance, kern)
|
locations |
x, y numeric locations of each colony. |
maxDistance |
For kernels with an upper threshold |
kern |
Character, giving the name of the distance kernel to be used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.