Dear members of list,

I calculated a local moran index ("localmoran()") for my data (which come
from a raster grid) with a queen spatial neighbor structure for construct
the weights matrix.

I would like to plot in a map the value of local moran index for each zone,
however, I am not sure how to extract spatial information for each one of
the values obtained of local moran index.

My question is: if I am well in assume that the result of localmoran()
function is in the same order that neighbor list, thus, I can assign
coordinates of neighbors to each row of result matrix? something like:

#Calculating neighbors
kneig=knearneigh(cbind(data$x,data$y),k=8)
neig=knn2nb(neig)

#Calculating weights for neighbors
neiglist=nb2listw(neig,style="W")

#Spatial autocorrelation
lmt=localmoran(data$z,neiglist)

#Data for plot local moran index
data_map=cbind(lmt,data$x,data$y)

Thanks in advance and best regards to all.

	[[alternative HTML version deleted]]

