SpatialGridTopography-class: Class "SpatialGridTopography"
Description
An S4 class that represents topography over a grid of coordinates.
Usage
# S4 method for SpatialGridTopography,ANY,ANY
[(x, i, j, ..., drop = FALSE)
# S4 method for SpatialGridTopography
show(object)
Objects from the Class
Objects can be created by calls of the form new("SpatialGridTopography", ...)
, or by calls to the function SpatialGridTopography
.
Slots
grid
:
Object of class GridTopology
.
data
:
Object of class "data.frame"
containing the elevation (in m), slope (in degrees) and aspect (in degrees from North) of every cell.
bbox
:
Object of class "matrix"
with the boundary box.
proj4string
:
Object of class "CRS"
with the projection string.
Extends
Class "SpatialGridDataFrame"
, directly.
Class "SpatialGrid"
, by class "SpatialGridDataFrame", distance 2.
Class "Spatial"
, by class "SpatialGridDataFrame", distance 3.
Arguments
- x,object
SpatialGridTopography
object
- i
row indices
- j
column indices
- drop
see Extract
- ...
indices passed through
Author
Miquel De Cáceres Ainsa, CREAF
See Also
SpatialGridTopography
, SpatialGridDataFrame-class
Examples
Run this code#Structure of the S4 object
showClass("SpatialGridTopography")
Run the code above in your browser using DataLab