Description Usage Arguments Details
View source: R/brk_dispersal.R
Simulate contaminants or individuals frequency over the landscape by two steps: dispersal of elements and local intensity/frequency of elements after dispersal.
1 2 3 4 5 6 7 8 9 | brk_dispersal(
object,
size_raster,
tolerance_square,
kernel,
kernel.options,
nbr_cores,
squared_frame
)
|
object |
sf or patialPolygonsDataFrame. A simple feature of class sf or SpatialPolygonsDataFrame |
size_raster |
integer. Raster size (default = 2^10) |
tolerance_square |
numeric. Tolerance rate to test if an sf set is squared |
kernel |
string. Dispersion kernel, function name (default = NIG) |
kernel.options |
list. Parameters list for the kernel function |
nbr_cores |
integer. Parameters for parallel computing: the
number of cores to use, i.e. at most how many child processes
will be run simultaneously. Default is |
squared_frame |
sf. Select the sf to be considered as frame to rasterized. Default is 'NULL', and 'object' is used. |
The dispersal of contaminants or individuals is implemented by rastering the landscape and by computing the convolution between sources emissions and a dispersal kernel.
The dispersion kernel by default is Normal Inverse Gaussian kernel
("NIG" function). Currently, two others are implemented "geometric"
(with parameter a) and "2Dt" kernels (with parameters a,
b, c1, c2).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.