plot.nb(x, coords, col="black", points=TRUE, add=FALSE, arrows=FALSE, length=0.1, ...)
nb
par(..)
summary.nb
data(columbus)
plot(col.gal.nb, coords)
title(main="GAL order 1 links with first nearest neighbours in red")
col.knn <- knearneigh(coords, k=1)
plot(knn2nb(col.knn), coords, add=TRUE, col="red", length=0.08)
Run the code above in your browser using DataLab