powered by
This function is an extremely thin wrapper around spdep::poly2nb(), renamed to use the waywiser "ww" prefix.
spdep::poly2nb()
ww_make_polygon_neighbors(data, ...)
An object of class "nb"
An sfc_POLYGON or sfc_MULTIPOLYGON object.
sfc_POLYGON
sfc_MULTIPOLYGON
Additional arguments passed to spdep::poly2nb().
These functions can be used for geographic or projected coordinate reference systems and expect 2D data.
ww_make_polygon_neighbors(guerry)
Run the code above in your browser using DataLab