Learn R Programming

rts (version 1.1-14)

RasterStackBrickTS-class: rts classes

Description

A raster time series contains a collection of RasterLayer objects, each corresponds to a time/date.

RasterStackTS and RasterBrickTS classes are created by putting together a RasterStack or RasterBrick object, from the raster package, and an xts object, from the xts package. A RasterStack and RasterBrick represents a collection of RasterLayer objects with the same extent and resolution. An xts object extends the S3 class zoo from the package of the same name. This object provides the index values that is unique and ordered, and also is a time-based class. Currently acceptable classes include: 'Date', 'POSIXct', 'timeDate', as well as 'yearmon' and 'yearqtr' where the index values remain unique.

rts is a subclass of xts class.

Arguments

Slots

Slots for Raster*TS object:

raster:

object of class RasterStack or RasterBrick

rime:

object of class xts

See also Raster-class for slots in raster.

Examples

Run this code
showClass("RasterStackTS")

Run the code above in your browser using DataLab