elsa_raster {geocmeans} | R Documentation |
calculate ELSA spatial statistic for raster dataset
Description
calculate ELSA spatial statistic for vector dataset
Usage
elsa_raster(rast, window, matdist)
Arguments
rast |
An integer raster or matrix representing the m categories (0,1,2,..., m) |
window |
A binary (0,1) matrix representing the neighbours spatial weights when working with rasters. The matrix must have odd dimensions. |
matdist |
A matrix representing the dissimilarity between the clusters. The matrix must be squared and the diagonal must be filled with zeros. |
Value
A raster or a matrix: the local values of ELSA
Examples
# this is an internal function, no example provided
[Package geocmeans version 0.3.4 Index]