Description Usage Arguments Value Author(s) Examples
View source: R/KernelsAndConnectivityMatrices.R
Automatically create the dispersal and breeding window probability kernels and connectivity matrices of patch IDs based on the provided cell size, number of cells in the x and y directions on the landscape, and the mean and standard deviation of the dispersal kernel. Additionally, two distributions are able to be summed for creating the dispersal kernel.
1 2 3 | disp.kern.new.nemo.sig4(cell.size, horizontal.land, vertical.land,
dist.mean = 0, dist.sd, two.kernels = FALSE, kernel.weighting = 0.9,
second.dist.mean = 0, second.dist.sd = NULL)
|
cell.size |
The size in unites distance of a single patch (or cell), which based on the parameters given below will influence how large the landscape is and how many cells are within one unit sigma. |
horizontal.land |
The size of the landscape in the horizontal direction. Units are the same as cell.size. |
vertical.land |
The size of the landscape in the vertical direction. Units are the same as cell.size. |
dist.mean |
The mean distance for the kernel's distribution. Default is zero (i.e. most dispersal occurs to the natal patch). |
dist.sd |
Sigma (one standard deviation) for the distribution of dispersal distances. |
two.kernels |
A boolean parameter with default FALSE. If two distributions are being summed to create the kernel, this should be TRUE. |
kernel.weighting |
The weighting of the first distribution for creating the summed kernels (the second distribution will be one minus this). |
second.dist.mean |
The mean of the second distribution being summed with the first distribution. The default is zero, as above, but should match the first distribution's mean if that is ever changed from zero. |
second.dist.sd |
Sigma (one standard deviation) for the distribution of dispersal distances of the second distribution. |
Returns the array of probabilities for the dispersal or breeding window kernels and prints the connectivity matrix to a file.
Kimberly J Gilbert
1 2 | make.kernel.and.matrix(cell.size=50, horizontal.land=1000, vertical.land=2000, dist.mean=0,
dist.sd=25, two.kernels=FALSE, second.dist.mean=0, second.dist.sd=NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.