SpatialPixels-class {sp} | R Documentation |
class for defining a pixels, forming a possibly incomplete rectangular grid of arbitrary dimension
Objects are created by using e.g.
SpatialPixels(points)
with points of class SpatialPoints-class
grid
grid.index
coords
bbox
:"matrix"
; bounding box proj4string
:"CRS"
; projection
Class "SpatialPoints"
directly;
Class "Spatial"
, by class "SpatialPoints"
.
signature(x = "SpatialPixels")
: calculates coordinates for
each point on the grid; coordinates are not stored in objects of class SpatialGridsignature(object = "SpatialPixels")
: summarize objectsignature(x = "SpatialPixels")
: plots cell centers signature(x = "SpatialPixels")
: select pixel cells; the argument
drop=TRUE
(default) recalculates grid topology for the selection, if
drop=FALSE
the grid topology of the parent object is kept. Edzer J. Pebesma, e.pebesma@geo.uu.nl
SpatialPixelsDataFrame-class
, SpatialGrid-class
data(meuse.grid) pts = meuse.grid[c("x", "y")] y = SpatialPixels(SpatialPoints(pts)) class(y) y summary(y) plot(y)