powered by
calculate ELSA spatial statistic for vector dataset
elsa_raster(rast, window, matdist)
A raster or a matrix: the local values of ELSA
An integer raster or matrix representing the m categories (0,1,2,..., m)
A binary (0,1) matrix representing the neighbours spatial weights when working with rasters. The matrix must have odd dimensions.
A matrix representing the dissimilarity between the clusters. The matrix must be squared and the diagonal must be filled with zeros.
# this is an internal function, no example provided
Run the code above in your browser using DataLab