Re: [R-sig-Geo] Creating another grid from n*n grid

2008-01-13 Thread Roger Bivand
On Sat, 12 Jan 2008, Takatsugu Kobayashi wrote: > Hi, > > (As an exercise)I am trying to create a SpatialPolygons object from n*n > grid. By reading the material (from vignette{'sp'), I managed to convert > grid to polygons. Now I would like plot this polygons, and here is what > I have done so fa

Re: [R-sig-Geo] Creating another grid from n*n grid

2008-01-12 Thread Takatsugu Kobayashi
Hi, (As an exercise)I am trying to create a SpatialPolygons object from n*n grid. By reading the material (from vignette{'sp'), I managed to convert grid to polygons. Now I would like plot this polygons, and here is what I have done so far: Step1: Create a 9*9 grid n<-9 # number of cells in ea