get_rsa_b: Compute changes in total suitable area for multiple species

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

get_rsa_bR Documentation

Compute changes in total suitable area for multiple species

Description

Compute changes in total suitable area at multiple climatic scenarios, threshold and model criteria for each species.

Usage

get_rsa_b(mrs.l, area.raster = NULL, digits = 2, numCores = 1)

Arguments

mrs.l

List containing stack or brick of range shifts. See range_shift_b

area.raster

A raster containing the cell areas to be summed across the suitable pixels. This allows summing areas of habitat when the pixel is partially occupied with the habitat of interest.

digits

integer indicating the number of decimal places. see ?round for details.

numCores

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

Value

An object of class "data.table" "data.frame" containing calculated areas of range shift for each species between a selected climatic scenario and all other climatic scenarios for threshold, model and masked locations (if projections were masked, see mask_thr_projs_mscn_b).

See Also

range_shift, get_rsa

Examples

## Not run: 
spp_diff_a <- get_rsa_b(mods.thrshld.lst)

## End(Not run)

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