get_rsa: Compute changes in total suitable area

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

get_rsaR Documentation

Compute changes in total suitable area

Description

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

Usage

get_rsa(mrs, area.raster = NULL, digits = 2)

Arguments

mrs

List containing stack or brick of range shifts. See range_shift

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.

Value

An object of class "data.table" "data.frame" containing calculated areas of range shift 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

area, get_tsa_b, get_cont_permimport, get_fpa, get_cont_permimport_b, get_fpa_b

Examples

## Not run: 
range_diff <- range_shift(mods.thrshld.lst$haddadus_binotatus)
spp_diff_a <- get_rsa(mrs=range_diff)

## End(Not run)

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