SpatialPixelsDataFrame-class for additional information on objects of class SpatialPixelsDataFrame and SpatialPoints-class for additional information on objects of class SpatialPoints.
Examples
## generates a random sample of pointsxy <- matrix(runif(1000), ncol=2)## coerce them to SpatialPointsxy <- SpatialPoints(xy)plot(xy)## generate a SpatialPixelsDataFrame## (and count the number of points)spd <- ascgen(xy, cellsize=0.1)image(spd)