elsa_vector: calculate ELSA spatial statistic for vector dataset

View source: R/spatial_indices.R

elsa_vectorR Documentation

calculate ELSA spatial statistic for vector dataset

Description

calculate ELSA spatial statistic for vector dataset

Usage

elsa_vector(categories, nblistw, dist)

Arguments

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

Value

A vector: the local values of ELSA

Examples

# this is an internal function, no example provided

geocmeans documentation built on Sept. 12, 2023, 9:06 a.m.