useR's
I need transform the matrix
wdat
     [,1] [,2] [,3] [,4] [,5] [,6]
[1,]    0    1    0    1    1    0
[2,]    1    0    0    1    1    0
[3,]    0    0    0    0    1    1
[4,]    1    1    0    0    1    0
[5,]    1    1    1    1    0    0
[6,]    0    0    1    0    0    0
to  gal object. How I do with spdep?
Thanks in advance for the help.
Bernardo.
University  of Concepció.