# SpatialPixelsDataFrame

From sp v0.7-10
0th

Percentile

##### define spatial grid with attribute data

defines spatial grid by offset, cell size and dimensions

Keywords
spatial
##### Usage
SpatialPixelsDataFrame(points, data, tolerance = 10 * .Machine\$double.eps,
proj4string = CRS(as.character(NA)))
SpatialGridDataFrame(grid, data, proj4string = CRS(as.character(NA)))
##### Arguments
points
coordinates, either as numeric matrix or as object of class SpatialPoints-class
grid
grid topology; object of class GridTopology-class
data
data.frame; contains the attribute (actual grid) data
tolerance
precision up to which extent points should be exactly on a grid
proj4string
object of class CRS-class in the first form only used when points does not inherit from Spatial-class

##### Note

SpatialPixels stores grid topology and coordinates of the actual points, which may be in the form of a subset (set of pixels) of a full grid. To find out or change this, see fullgrid and SpatialGrid-class.

data(meuse.grid)
summary(m)