range_shift: Map shifts in suitable areas

View source: R/8.1.f.metrics-area_gain_loss.R

range_shiftR Documentation

Map shifts in suitable areas

Description

Map shifts in suitable areas between a selected climatic scenario and all other climatic scenarios.

Usage

range_shift(
  mtp,
  ref.scn = "ncurrent",
  sp.nm = "species",
  numCores = 1,
  format = "raster"
)

Arguments

mtp

Stack or brick of thresholded predictions

ref.scn

Selected climatic scenario to compare with all others. Usually "ncurrent". any (row or col) is 0, it will draw the layout automatically.

sp.nm

Species name. Used to name the output folder

numCores

Number of cores to use for parallelization. If set to 1, no paralellization is performed

format

Character. Output file type. Argument 'format' of raster::writeRaster

Value

A list containing rasters of differences between predictions of climatic scenarios

See Also

range_shift_b

Examples

## Not run: 
range_shift(mcmp.l=mxnt.mdls.preds.lst, mtp.l=mods.thrshld.lst)

## End(Not run)

HemingNM/ENMwizard documentation built on Jan. 4, 2024, 3:24 p.m.