powered by
class for defining a full, rectangular grid of arbitrary dimension
Objects are created by using e.g.
SpatialGrid(grid)
with grid of class GridTopology-class
grid
object of class GridTopology-class, defining the grid topology (offset, cellsize, dim)
bbox
Object of class "matrix"; bounding box
"matrix"
proj4string
Object of class "CRS"; projection
"CRS"
Class "SpatialPoints" directly; Class "Spatial", by class "SpatialPoints".
"SpatialPoints"
"Spatial"
signature(x = "SpatialGrid"): calculates coordinates for each point on the grid; coordinates are not stored in objects of class SpatialGrid
signature(x = "SpatialGrid")
signature(object = "SpatialGrid"): summarize object
signature(object = "SpatialGrid")
signature(x = "SpatialGrid"): plots cell centers
signature(x = "SpatialGrid"): select rows and columns
SpatialGridDataFrame-class, SpatialGrid
SpatialGridDataFrame-class
SpatialGrid
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