Learn R Programming

meteoland (version 0.9.7)

SpatialPixelsTopography-class: Class "SpatialPixelsTopography"

Description

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

Arguments

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.

Methods

[

signature(x = "SpatialGridTopography", i = "ANY", ..., drop = "ANY"): subsets the pixels and associated topography; only one dimension can be subsetted. If drop = TRUE the boundary box is recalculated.

spplot

signature(object = "SpatialPixelsTopography"): allows plotting topography maps.

See Also

SpatialPixelsTopography, SpatialPixelsDataFrame-class

Examples

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

Run the code above in your browser using DataLab