View source: R/8.1.f.metrics-area_gain_loss.R
| get_rsa | R Documentation |
Compute changes in total suitable area at multiple climatic scenarios, threshold and model criteria.
get_rsa(mrs, area.raster = NULL, digits = 2)
mrs |
List containing stack or brick of range shifts. See |
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. |
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).
area, get_tsa_b, get_cont_permimport, get_fpa,
get_cont_permimport_b, get_fpa_b
## Not run:
range_diff <- range_shift(mods.thrshld.lst$haddadus_binotatus)
spp_diff_a <- get_rsa(mrs=range_diff)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.