Terry Griffin, Ph.D. Assistant Professor - Economics University of Arkansas - Division of Agriculture 501.671.2182 [email protected]
>>> Scott L Minkoff <[email protected]> 3/11/2010 12:57 PM >>> Hello, I am new to analyzing spatial data in R and was having trouble finding an answer to my question in the list archives. I am interested in doing spatial regression with an inverse distance matrix. To do this, I created the weights matrix outside of R (in ArcGIS) and then used the mat2listw function to convert it to a list that could be used in a spatial regression with the spdep package. I am wondering whether this is an appropriate way to do this and, if not, what would be? Thanks in advance, Scott Minkoff University of Colorado at Boulder Department of Political Science Scott, I had a similar question a few years ago that Roger Bivand helped with on this discussion forum. The string can be found at: http://www.mail-archive.com/[email protected]/msg00335.html I was importing a shape file into R and then creating an inverse distance weights matrix within R using spdep and rgdal. HTH, Terry [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
