An S4 class that represents topography over a grid of coordinates.

# 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

#Structure of the S4 object
showClass("SpatialGridTopography")
#> Class "SpatialGridTopography" [package "meteoland"]
#> 
#> Slots:
#>                                                           
#> Name:          data         grid         bbox  proj4string
#> Class:   data.frame GridTopology       matrix          CRS
#> 
#> Extends: 
#> Class "SpatialGridDataFrame", directly
#> Class "SpatialGrid", by class "SpatialGridDataFrame", distance 2
#> Class "Spatial", by class "SpatialGridDataFrame", distance 3