Cell-Wise Divergence Between Landform Proportion Ensembles
Source:R/calibrate.R
geomorphon_divergence.RdComputes cell-wise divergence and summary statistics between two aligned
multi-layer class-proportion ensembles (e.g. from geomorphon_ensemble() with
method = "proportions"), or two lists of proportion matrices / numeric matrices.
Value
A list containing:
- raster
A single-layer
SpatRasternamed"divergence", returned for raster input.- matrix
The cell-vector divergence as a numeric matrix, returned for matrix or list input.
- mean_divergence
Arithmetic mean divergence across valid cells.
- median_divergence
Median divergence across valid cells.
- q90_divergence
90th percentile divergence across valid cells.
- n_cells
Count of valid cells compared.