Binary weights linking every pair of distinct units sharing a group, as
spdep::nb2blocknb without prior neighbours.
Examples
BlockWeights(c("a", "b", "a"))
#> [,1] [,2] [,3]
#> [1,] 0 0 1
#> [2,] 0 0 0
#> [3,] 1 0 0
Binary weights linking every pair of distinct units sharing a group, as
spdep::nb2blocknb without prior neighbours.
BlockWeights(c("a", "b", "a"))
#> [,1] [,2] [,3]
#> [1,] 0 0 1
#> [2,] 0 0 0
#> [3,] 1 0 0