hci_diff | R Documentation |
This function produces a map of difference b/w mean and sum indexes in rank of cropland harvested area fraction.
hci_diff(x, y, global, geoscale, res = reso(), outdir = tempdir())
x |
SpatRaster. |
y |
SpatRaster. |
global |
Logical. |
geoscale |
Numeric vector. |
res |
Numeric. Map resolution. This value is used in aggregation and dis-aggregation operation.
Default is |
outdir |
Character. Output directory for saving raster in TIFF format.
Default is |
Ideally, the function is tested to yield desired results when
length(which(y[] > 0)) > length(which(x[] > 0))
.
RiskMap. Contains result in the form of SpatRaster
objects
and file path of the saved maps.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.