SpatialPointsTopography-class: Class "SpatialPointsTopography"
Description
An S4 class that represents topography over a grid of coordinates.
Usage
# S4 method for SpatialPointsTopography,ANY,ANY
[(x, i, j, ..., drop = TRUE)
# S4 method for SpatialPointsTopography
show(object)
Objects from the Class
Objects can be created by calls of the form new("SpatialPointsTopography", ...)
, or by calls to the function SpatialPointsTopography
.
Slots
data
:
Object of class "data.frame"
containing the elevation (in m), slope (in degrees) and aspect (in degrees from North) of every point.
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 "SpatialPointsDataFrame"
, directly.
Class "SpatialPoints"
, by class "SpatialPointsDataFrame", distance 2.
Class "Spatial"
, by class "SpatialPointsDataFrame", distance 3.
Arguments
- x,object
SpatialPointsTopography
object
- i
row indices
- j
column indices
- drop
see Extract
- ...
indices passed through
Author
Miquel De Cáceres Ainsa, CREAF
See Also
SpatialPointsTopography
, SpatialPointsDataFrame-class
Examples
Run this code#Structure of the S4 object
showClass("SpatialPointsTopography")
Run the code above in your browser using DataLab