exposure_map: Create an exposure map

View source: R/exposure_map.R

exposure_mapR Documentation

Create an exposure map

Description

Creates a map of exposure to climate change in a species' habitat from a departure object.

Usage

exposure_map(dep, parallel = FALSE, n, filename = "", ...)

Arguments

dep

Object of class departure

parallel

logical. If TRUE then multiple cores are utilized

n

numeric. Number of cores to use for calculation (optional)

filename

character. Output filename (optional)

...

Additional arguments for file writing as for writeRaster

Details

The values of the exposure raster are calculated by projecting onto the departure factor d, given by the formula

\epsilon = Fd.

Value

A RasterLayer of exposure values

See Also

departure, sensitivity_map, vulnerability_map

Examples

dep <- departure(x = climdat.hist, y = climdat.fut, s.dat = ABPR)
exp.map <- exposure_map(dep)


rinnan/CENFA documentation built on July 19, 2023, 12:58 p.m.