spdep::poly2nb
sf_to_nb.Rd
Wrapper function for spdep::poly2nb.
sf_to_nb(sf)
A simple features object with some geometry.
A neighbourhood list object.
nb <- sf_to_nb(mw) #> Error in .class1(object): object 'mw' not found