Learn R Programming

sp (version 0.9-78)

SpatialPixels-class: Class "SpatialPixels"

Description

class for defining a pixels, forming a possibly incomplete rectangular grid of arbitrary dimension

Arguments

Objects from the Class

Objects are created by using e.g.

SpatialPixels(points)

with points of class SpatialPoints-class

Extends

Class "SpatialPoints" directly; Class "Spatial", by class "SpatialPoints".

See Also

SpatialPixelsDataFrame-class, SpatialGrid-class

Examples

Run this code
data(meuse.grid)
pts = meuse.grid[c("x", "y")]
y = SpatialPixels(SpatialPoints(pts))
class(y)
y
summary(y)
plot(y)

Run the code above in your browser using DataLab