hci_mean {geohabnet} | R Documentation |
Calculate mean of raster objects
Description
Wrapper for terra::mean()
. Calculates mean of list of rasters.
Usage
hci_mean(
indices,
global = FALSE,
east = NULL,
west = NULL,
geoscale = NULL,
res = reso(),
plt = TRUE,
outdir = tempdir()
)
Arguments
indices |
List of SpatRasters. This input represents the spatial raster collection for which mean is to be calculated. |
global |
Logical. |
east |
SpatRaster. Collection of risk indices on eastern extent. |
west |
SpatRaster. Collection of risk indices on western extent.
When |
geoscale |
Vector. geographical scale. Default is |
res |
Numeric. Map resolution. This value is used in aggregation and dis-aggregation operation.
Default is |
plt |
|
outdir |
Character. Output directory for saving raster in TIFF format.
Default is |
Value
RiskMap. Contains result in the form of SpatRaster
objects
and file path of the saved maps.