Learn R Programming

meteoland (version 0.9.7)

SpatialGridTopography-class: Class "SpatialGridTopography"

Description

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

Arguments

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.

Methods

[

signature(x = "SpatialGridTopography", i = "ANY", j = "ANY", drop = "ANY"): subsets the grid and associated topography; only rows (x values) and columns (y values) can be subsetted.

See Also

SpatialGridTopography, SpatialGridDataFrame-class

Examples

Run this code
# NOT RUN {
#Structure of the S4 object
showClass("SpatialGridTopography")
# }

Run the code above in your browser using DataLab