[R-sig-Geo] Extract values in spsample()

2011-11-19 Thread ASANTOS
Dear colleges, I need to create a object wit the coordinates of a grid and the values in the point sampled, using the meuse.grid example: ## regular sampling over a grid library(sp) data(meuse.grid) gridded(meuse.grid) = ~x+y image(meuse.grid[dist])

Re: [R-sig-Geo] Extract values in spsample()

2011-11-19 Thread Edzer Pebesma
On 11/19/2011 04:03 PM, ASANTOS wrote: Dear colleges, I need to create a object wit the coordinates of a grid and the values in the point sampled, using the meuse.grid example: ## regular sampling over a grid library(sp) data(meuse.grid) gridded(meuse.grid) = ~x+y