Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sensitivity_map

Create a sensitivity map


Description

Creates a sensitivity map of species habitat from a cnfa object.

Usage

sensitivity_map(cnfa, parallel = FALSE, n = 1, filename = "", ...)

Arguments

cnfa

Object of class cnfa

parallel

logical. If TRUE then multiple cores are utilized

n

numeric. Number of cores to use for calculation

filename

character. Output filename (optional)

...

Additional arguments for file writing as for writeRaster

Details

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

σ = |S - m|s.

Value

A RasterLayer of sensitivity values

See Also

Examples

mod1 <- cnfa(x = climdat.hist, s.dat = ABPR, field = "CODE")
sens.map <- sensitivity_map(mod1)

CENFA

Climate and Ecological Niche Factor Analysis

v1.1.0
GPL (>= 3)
Authors
D. Scott Rinnan
Initial release
2020-02-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.