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
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
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