View source: R/spatial_indices.R
elsa_raster | R Documentation |
calculate ELSA spatial statistic for vector dataset
elsa_raster(rast, window, matdist)
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. |
A raster or a matrix: the local values of ELSA
# this is an internal function, no example provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.