I am trying to construct a spatial weight matrix from shapefile (.shp) in R. The thing is, I don't even have any single idea how to do it. And I am having trouble finding any reference. Most of the tutorial I find only describing about how to work with shapefile/map in general or they use an already available neighborhood list (ex. columbus.nb).
Any help will be really appreciated. Thanks in advance.