neighborhood | R Documentation |
This function uses numerical integration of a dispersal kernel to construct a matrix representing the probability that dispersal originating in a given grid cell will arrive at each cell across its neighborhood.
neighborhood(kernel, diameter = 7, cell_res, method = "area", res = 11)
kernel |
A dispersal kernel object, e.g. generated by |
diameter |
Neighborhood size, in grid cells (odd integer). |
cell_res |
Grid cell size, in meters. |
method |
Either "area" (default), "area-centroid", or "centroid"; see Chipperfield et al. (2011). |
res |
Resolution for numerical integration (odd integer). |
A matrix of dispersal probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.