Dear list members, I want to plot a neighbours list of class nb. I thought that the plot would show 8 neighbour lines. But this is not the case for my plot. Did I do something wrong?
col.knn2nb<-knn2nb(knearneigh(coords, k=8, longlat=F)) plot(coords, border="grey") plot(col.knn2nb, coords, xlim=NULL, ylim=NULL, add=TRUE) Thanks in advance
<<attachment: knn.jpeg>>
_______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo