Learn R Programming

geocmeans (version 0.3.4)

elsa_vector: calculate ELSA spatial statistic for vector dataset

Description

calculate ELSA spatial statistic for vector dataset

Usage

elsa_vector(categories, nblistw, dist)

Value

A vector: the local values of ELSA

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

Examples

Run this code
# this is an internal function, no example provided

Run the code above in your browser using DataLab