Re: [R-sig-Geo] SpatialFiltering in spdep: How to create an 'nb' object from an imported spatial weights matrix

2009-02-16 Thread Timo Mitze
Dear Roger, it works now, many Thanks! Timo -Ursprüngliche Nachricht- Von: Roger Bivand [mailto:roger.biv...@nhh.no] Gesendet: Sonntag, 15. Februar 2009 23:00 An: Timo Mitze Cc: r-sig-geo@stat.math.ethz.ch Betreff: Re: AW: [R-sig-Geo] SpatialFiltering in spdep: How to create an &#x

Re: [R-sig-Geo] SpatialFiltering in spdep: How to create an 'nb' object from an imported spatial weights matrix

2009-02-15 Thread Timo Mitze
tw object. Can I generate such an nb object from my binary 240x240 matrix? Greetings, Timo -Ursprüngliche Nachricht- Von: Roger Bivand [mailto:roger.biv...@nhh.no] Gesendet: Sonntag, 15. Februar 2009 13:31 An: Timo Mitze Cc: r-sig-geo@stat.math.ethz.ch Betreff: Re: [R-sig-Geo] Spatial

[R-sig-Geo] SpatialFiltering in spdep: How to create an 'nb' object from an imported spatial weights matrix

2009-02-14 Thread Timo Mitze
Dear List, I have a complete (distance/border based binary) spatial weights matrix from Stata (e.g. as a txt-file). I want to apply spatial filtering in spdep, however the routine needs an "nb" object. Is there any way to extract the information from my matrix automatically (something like mat2nb