View source: R/sensitivity_map.R
sensitivity_map | R Documentation |
Creates a sensitivity map of species habitat from a cnfa
object.
sensitivity_map(cnfa, parallel = FALSE, n = 1, filename = "", ...)
cnfa |
Object of class |
parallel |
logical. If |
n |
numeric. Number of cores to use for calculation |
filename |
character. Output filename (optional) |
... |
Additional arguments for file writing as for |
The values of the sensitivity raster are calculated by centering the habitat's climate data around the marginality factor m and projecting onto the sensitivity factor s, given by the formula
\sigma
= |S - m|s.
A RasterLayer of sensitivity values
cnfa
, exposure_map
, vulnerability_map
mod1 <- cnfa(x = climdat.hist, s.dat = ABPR, field = "CODE")
sens.map <- sensitivity_map(mod1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.