powered by
nb
nbdists(nb, coords)
nbdist
summary.nb
nb2listw
data(columbus) dlist <- nbdists(col.gal.nb, coords) dlist <- lapply(dlist, function(x) 1/x) stem(unlist(dlist))
Run the code above in your browser using DataLab