[R-sig-Geo] Error using gpclib fuctions

2010-08-19 Thread Breitbach, Nils
Dear Community, trying to get through the examples from Applied Spatial Data Analysis with R I got problems with the gpclib package. The library was loaded correctly: library(gpclib) General Polygon Clipper Library for R (version 1.5-1) Type 'class ? gpc.poly' for help ... but then

Re: [R-sig-Geo] Error using gpclib fuctions

2010-08-19 Thread Nikhil Kaza
Just issue the command once in the session. gpclibPermit() Alternatively, you could wait for the rgeos package. Nikhil Kaza Asst. Professor, City and Regional Planning University of North Carolina nikhil.l...@gmail.com On Aug 19, 2010, at 7:12 AM, Breitbach, Nils wrote: Dear Community,

[R-sig-Geo] From Sparse Matrix to Listw

2010-08-19 Thread Lata Rafael
Dear all, I have a problem converting a large binary sparse weight matrix (62025 * 62025) of class dgT to listw Is there a function that creates a listw object from a sparse matrix? Thank you in advance. Best regards Rafael Lata [[alternative HTML version deleted]]

[R-sig-Geo] Codes or programs that implement models in the paper Spatial Modeling With Spatially Varying Coefficient Processes

2010-08-19 Thread Danlin Yu
Hi, list: Hopefully this is appropriate here. I am recently reading the paper Spatial Modeling With Spatially Varying Coefficient Processes by Alan E. Gelfand, Hyon-Jung Kim, C.F. Sirmans, and Sudipto Banerjee, published in Journal of the American Statistical Association, 2003, 387-396. The

Re: [R-sig-Geo] From Sparse Matrix to Listw

2010-08-19 Thread Roger Bivand
On Thu, 19 Aug 2010, Lata Rafael wrote: Dear all, I have a problem converting a large binary sparse weight matrix (62025 * 62025) of class dgT to listw You mean in package Matrix, and as described in ?TsparseMatrix-class? Is there a function that creates a listw object from a sparse

Re: [R-sig-Geo] Moran's I based on ZIP Code data

2010-08-19 Thread Roger Bivand
On Thu, 19 Aug 2010, Michael Haenlein wrote: Dear all, this is probably a very stupid question -- in case it is I apologize in advance. I'm not very familiar with spatial statistics, although I have used the spdep package previously (specifically the moran.mc and moran.test functions) in a