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

exposure_map

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

ε = Fd.

Value

A RasterLayer of exposure values

See Also

Examples

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

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.