Skip to content
Prev 6694 / 29559 Next

Counting number of points per pixel in a grid

Hi Heather,

Be sure to take a look a the raster package, in particular the 
pointsToRaster function. Does exactly what you want and is very fast. 
Going from sp-grids to raster-objects is very easy.

cheers,
Paul

Heather Kharouba schreef: