neighborhood: Neighborhood dispersal probability matrix.

View source: R/dispersal.R

neighborhoodR Documentation

Neighborhood dispersal probability matrix.

Description

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.

Usage

neighborhood(kernel, diameter = 7, cell_res, method = "area", res = 11)

Arguments

kernel

A dispersal kernel object, e.g. generated by species_template()$kernel. Note that the kernel function must already be area-adjusted by incorporating a denominator of 2*pi, as has been done for the included functions dlognormal, d2Dt, and dexponential. Distance units are assumed to be in meters.

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).

Value

A matrix of dispersal probabilities.


matthewkling/stranger documentation built on Feb. 25, 2024, 2:31 p.m.