Learn R Programming

meteoland (version 0.9.7)

SpatialPointsMeteorology-class: Class "SpatialPointsMeteorology"

Description

An S4 class that represents a set of points with meteorology data series.

Arguments

Objects from the Class

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

Slots

dates:

Object of class "Date" describing the time period for which meteorological estimates are available.

data:

A vector of "data.frame" objects, each one corresponding to one spatial 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 "'>SpatialPoints", directly. Class "'>Spatial", by class "SpatialPoints", distance 2.

Methods

[

signature(x = "SpatialPointsMeteorology", i = "ANY", j = "ANY", drop = "ANY"): subsets the spatial points and the corresponding list of meteorological data; only rows (points) can be subsetted.

coerce

signature(x = "SpatialPointsMeteorology", to = "STFDF"): coerces into a spacetime STFDF object.

coerce

signature(x = "SpatialPointsMeteorology", to = "stars"): coerces into a stars object.

See Also

SpatialPointsTopography-class, SpatialPoints-class

Examples

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

Run the code above in your browser using DataLab