Learn R Programming

sp (version 0.9-78)

SpatialGrid-class: Class "SpatialGrid"

Description

class for defining a full, rectangular grid of arbitrary dimension

Arguments

Objects from the Class

Objects are created by using e.g.

SpatialGrid(grid)

with grid of class GridTopology-class

Extends

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

See Also

SpatialGridDataFrame-class, SpatialGrid

Examples

Run this code
x = GridTopology(c(0,0), c(1,1), c(5,5))
class(x)
x
summary(x)
coordinates(x)
y = SpatialGrid(grid = x)
class(y)
y

Run the code above in your browser using DataLab