I want to compute Moran's I with spdep in r using nearest-neighbour distances. I have computed Moran's I with ape using inverse distance weights but this isn't quite what I need to do.
I am trying to find if abundance data from sample plots within the same field are spatially autocorrelated.
I have attached an example data file.
Any help with code would be greatly appreciated.