Learn R Programming

sp (version 0.9-78)

GridTopology-class: Class "GridTopology"

Description

class for defining a rectangular grid of arbitrary dimension

Arguments

Objects from the Class

Objects are created by using e.g.

GridTopology(c(0,0), c(1,1), c(5,5))

see SpatialGrid

See Also

SpatialGridDataFrame-class, SpatialGrid-class

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