View source: R/pr_establishment.R
pr_establishment | R Documentation |
Calculate probability of establishment for each raster cell as a function of probabilities of arrival and climate and/or biotic suitability.
pr_establishment(rast, suitability, outfile, return_rast)
rast |
Raster object or path to file containing pathway probability of pest arrival. |
suitability |
Raster object or path to file containing a suitability raster. Cell values must be between 0 (not suitable) and 1 (ideal suitability). |
outfile |
Character. Output raster file path. If not provided, the
|
return_rast |
Logical. Should the |
If outfile
is specified, the resulting RasterLayer
is
saved to outfile
. If return_rast
is TRUE
or
outfile
is not specified, the resulting RasterLayer
is
returned, otherwise NULL
is returned invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.