calcLisa2D | R Documentation |
Calculate local indicators of spatial associations (LISAa) for a 2D point process. Uses LISA implementations in the package elsa.
calcLisa2D(x, y, m, d1 = 0, d2 = 1, statistic = "localmoran")
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*". |
a numeric vector with LISA statistic.
library(ARCOS)
calcLisa2D(x = runif(1000),
y = runif(1000),
m = rnorm(1000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.