R/02_Neighbour_methods.R
centroid_nb.Rd
Define neighbour relationships according to radial distance threshold between polygon centroids.
centroid_nb(poly, d.max = 40)
a sf data frame with polygon geometry
numeric, maximum distance accepted between polygon centroids to define neighbour relation
weighted neighbour matrix in a listw object from spdep package
Based on dnearneigh function from spdep package
Other nb_funcs: knn_nb(), membrane_nb(), nb_expand(), nb_update(), queen_nb(), tri_nb()
knn_nb()
membrane_nb()
nb_expand()
nb_update()
queen_nb()
tri_nb()