-Original Message-
>From: Roger Bivand <[EMAIL PROTECTED]>
>Sent: Mar 16, 2008 4:42 AM
>To: [EMAIL PROTECTED]
>Cc: r-sig-geo@stat.math.ethz.ch
>Subject: Re: [R-sig-Geo] writing shapefiles using write.pointShape
>
>On Thu, 13 Mar 2008, [EMAIL PROTECTED] wrote:
; -Original Message-----
>> From: [EMAIL PROTECTED]
>> Sent: Mar 13, 2008 5:10 PM
>> To: r-sig-geo@stat.math.ethz.ch
>> Subject: [R-sig-Geo] writing shapefiles using write.pointShape
>>
>> I've been running gwr on some survey data and trying to write output
On Thu, 13 Mar 2008, [EMAIL PROTECTED] wrote:
> I've been running gwr on some survey data and trying to write output
> back out to point shapefiles. At first, I thought that the shapefile
> wasn't being written, but after calling the file object I found it in a
> local settings/temp folder with
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
-
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
ke Cook
USDA APHIS
-Original Message-
>From: [EMAIL PROTECTED]
>Sent: Mar 13, 2008 5:10 PM
>To: r-sig-geo@stat.math.ethz.ch
>Subject: [R-sig-Geo] writing shapefiles using write.pointShape
>
>I've been running gwr on some survey data and trying to write output back o
I've been running gwr on some survey data and trying to write output back out
to point shapefiles. At first, I thought that the shapefile wasn't being
written, but after calling the file object I found it in a local settings/temp
folder with a random shapefile name. I thought I had specified all