- a character vector with the folder (directory)
where the shapefile is
shape
- a character vector with the name of the shapefile
(without the .shp extension)
Value
A first order contiguity (adjacency) matrix, where each
element [i,j] equals 1 if i-th and j-th
spatial units are adjacent, 0 otherwise (queen criteria)