exposure_map: Create an exposure map

Description Usage Arguments Details Value See Also Examples

View source: R/exposure_map.R

Description

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

Usage

1
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

ε = Fd.

Value

A RasterLayer of exposure values

See Also

departure, sensitivity_map, vulnerability_map

Examples

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

CENFA documentation built on Aug. 16, 2021, 9:06 a.m.