Skip to content
Prev 2019 / 29559 Next

spdep: From matrix to listw

Dear colleagues,

Is there any quick way for converting from R-matrix to listw-object of style 'W'
(row-standardized)? 
I tried mat2listw but the result is style 'M' (which is not what I need).
I also wrote my own GAL-file writer and went through read.gal and nb2listw
(much to slow).

Any suggestions?

Regards,
Martin Reismann