class for defining a rectangular grid of arbitrary dimension
Objects are created by using e.g.
GridTopology(c(0,0), c(1,1), c(5,5))
numeric; vector with the smallest centroid coordinates for each dimension; coordinates refer to the cell centre
numeric; vector with the cell size in each dimension
integer; vector with number of cells in each dimension
signature(x = "SpatialGrid"): calculates coordinates for
each point on the grid
signature(object = "SpatialGrid"): summarize object
signature(from = "GridTopology", to = "data.frame"):
convert to data.frame with columns cellcentre.offset, cellsize and cells.dim
Edzer Pebesma, email@example.com
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.