[R-sig-Geo] error in rasterize routine?

2012-05-13 Thread Adam Slez
I'm using the rasterize command in the raster package to rasterize polygon data and can't seem to get the rasterize routine to recognize the field parameter. Here's a working example which illustrates the problem: #load libraries library(raster) library(spgwr) #load data data(georgia) #confirm

Re: [R-sig-Geo] bad degrees of freedom in bptest.sarlm

2012-03-20 Thread Adam Slez
Roger, Out of curiosity, did you ever reach a final word on this? Adam On Fri, Feb 24, 2012 at 7:18 AM, Roger Bivand wrote: > On Fri, 24 Feb 2012, Adam Slez wrote: > > > Am I correct in thinking that the degrees of freedom associated with the > > bptest.sarlm, much like th

[R-sig-Geo] bad degrees of freedom in bptest.sarlm

2012-02-24 Thread Adam Slez
Am I correct in thinking that the degrees of freedom associated with the bptest.sarlm, much like the bptest code from which it came, should be driven by the number of parameters in the auxiliary regression NOT the model used to generate the residuals? The way the code for bptest.sarlm is written,