View source: R/biotic_weight.R
suitability | R Documentation |
Combine biotic (and abiotic) layers into a single suitability raster to be used to scale arrival rates.
suitability(x, outfile, return_rast = FALSE)
x |
One of: a |
outfile |
Character. Name of geotiff where output will be saved. If not provided, raster object will be returned to R. |
return_rast |
Logical. Should the raster object be returned to R?
Ignored if |
If outfile
is specified, the resulting raster is saved as a
geotiff to that path. If return_rast
is TRUE
or
outfile
is not specified the resulting raster 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.