[R-sig-Geo] writing shapefiles using write.pointShape

2008-03-15 Thread modern82376
Thank you Jakob. I figured that if I couldn't get the write.pointShape function to work the way I wanted, I'd have to do something like that. I'll keep your code as a backup, since I'd like to automate some processes. Cheers. Gericke Cook USDA APHIS -

[R-sig-Geo] writing shapefiles using write.pointShape

2008-03-15 Thread Jakob Petersen
More a work-around than a solution, but you could export the results data.frame as a csv and then import as an xy in arcmap (then save as a shp). The Columbus example... ## GWR example library(spgwr) data(columbus) main <- columbus main <- cbind(main, region=1:49) main.lm <- lm(crime ~ income