Learn R Programming

meteoland (version 1.0.3)

SpatialPixelsTopography-class: Class "SpatialPixelsTopography"

Description

An S4 class that represents topography that has locations on a regular grid.

Usage

# S4 method for SpatialPixelsTopography,ANY,ANY
[(x, i, j, ..., drop = FALSE)
  # S4 method for SpatialPixelsTopography
show(object)

Objects from the Class

Objects can be created by calls of the form new("SpatialPixelsTopography", ...), or by calls to the function SpatialPixelsTopography.

Slots

data:

Object of class "data.frame" containing the elevation (in m), slope (in degrees) and aspect (in degrees from North) of every cell.

coords.nrs:

Inherited from SpatialPointsDataFrame but not used.

grid:

Object of class GridTopology.

grid.index:

Index of points in full grid.

coords:

Object of class "matrix" with the spatial coordinates.

bbox:

Object of class "matrix" with the boundary box.

proj4string:

Object of class "CRS" with the projection string.

Extends

Class "SpatialPixelsDataFrame", directly. Class "SpatialPixels", by class "SpatialPixelsDataFrame", distance 2. Class "SpatialPointsDataFrame", by class "SpatialPixelsDataFrame", distance 2. Class "SpatialPoints", by class "SpatialPixelsDataFrame", distance 3. Class "Spatial", by class "SpatialPixelsDataFrame", distance 4.

Arguments

x,object

SpatialPixelsTopography object

i

row indices

j

column indices

drop

see Extract

...

indices passed through

Author

Miquel De Cáceres Ainsa, CREAF

See Also

SpatialPixelsTopography, SpatialPixelsDataFrame-class

Examples

Run this code
#Structure of the S4 object
showClass("SpatialPixelsTopography")

Run the code above in your browser using DataLab