This function produces a map of the difference in ranks between mean habitat connectivity and habitat availability.
Arguments
- x
SpatRaster.
- y
SpatRaster.
- global
Logical. Select
TRUEif a global analysis is desired,FALSEotherwise.eastandwestare required whenTRUE.- geoscale
Numeric vector.
xwill be cropped to this extent.- res
Numeric. This parameter refers to the spatial aggregation factor. This value is the number of cells that are grouped when aggregating a raster layer from fine to coarse spatial resolution to reduce computational costs. Setting this parameter to 1 would not aggregate the raster layers. Default is
reso().- outdir
Character. Output directory for saving raster in TIFF format. Default is
tempdir().
