This function produces a map of variance of CCRI based on input parameters
hci_variance(
indices,
rast,
global,
east = NULL,
west = NULL,
geoscale,
res = reso(),
outdir = tempdir()
)
RiskMap. Contains result in the form of SpatRaster
objects
and file path of the saved maps.
SpatRaster. Collection of risk indices.
SpatRaster. Template for variance output
Logical. TRUE
if global analysis is desired, FALSE
otherwise.
east
and west
are required when TRUE
.
SpatRaster. Collection of risk indices on eastern extent.
SpatRaster. Collection of risk indices on western extent.
When TRUE
, geoscale
is ignored. Default is TRUE
.
Vector. geographical scale. Default is NULL
.
Numeric. Map resolution. This value is used in aggregation and dis-aggregation operation.
Default is reso()
.
Character. Output directory for saving raster in TIFF format.
Default is tempdir()
.