Neighbourhood matrix

But one can standardise, e.g. by row (W):

nb2mat(nb1, style = "W")[1:4, 1:7] |> round(2)
##   [,1] [,2] [,3] [,4] [,5] [,6] [,7]
## 1 0.00 0.50 0.50 0.00 0.00    0    0
## 2 0.33 0.00 0.33 0.33 0.00    0    0
## 3 0.25 0.25 0.00 0.25 0.25    0    0
## 4 0.00 0.25 0.25 0.00 0.25    0    0