calcLisa2D: Calculate LISA in 2D

View source: R/binMeasLISA.R

calcLisa2DR Documentation

Calculate LISA in 2D

Description

Calculate local indicators of spatial associations (LISAa) for a 2D point process. Uses LISA implementations in the package elsa.

Usage

calcLisa2D(x, y, m, d1 = 0, d2 = 1, statistic = "localmoran")

Arguments

x

a numeric vector with x coordinates.

y

a numeric vector with y coordinates.

m

a numeric vector with values at x and y.

d1

numeric lower bound of local distance; default 0.

d2

numeric upper bound of local distance; default 1.

statistic

a character string specifying the LISA statistic that should be calculated. This can be one of "localmoran", "localgeary", "localG" or "localG*".

Value

a numeric vector with LISA statistic.

Examples

library(ARCOS)
calcLisa2D(x = runif(1000),
           y = runif(1000),
           m = rnorm(1000))

dmattek/ARCOS documentation built on Dec. 5, 2024, 11:02 p.m.