View source: R/spatial_indices.R
elsa_vector | R Documentation |
calculate ELSA spatial statistic for vector dataset
elsa_vector(categories, nblistw, dist)
categories |
An integer vector representing the m categories (1,2,3,..., m), -1 is used to indicate missing values. |
nblistw |
A listw object from spdep representing neighbour relations |
dist |
A numeric matrix (m*m) representing the distances between categories |
A vector: 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.