View source: R/localrobustmoran.R
localrobustmoran | R Documentation |
The local spatial statistic Robust Moran's I is calculated for each zone based on the spatial weights object used. The values returned include a Z-value, and may be used as a explorative analysis tool.
localrobustmoran(x, listw, nsim = 1000)
x |
a numeric vector the same length as the neighbours list in spdep listw |
listw |
a |
nsim |
number of permutations |
A list with letters and numbers.
Ii - local robust moran statistic
E.Ii - permutation sample mean
Var.Ii - permutation sample standard deviation
Z.Ii - permutation sample means and standard deviations
Pr - P-value
localrobustmoran(sampledata$x, sampledata$w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.