Generation
This class of objects is returned by the function TSdata or can be
built according to the description below.
Functions in this library which use data pass it through the function
TSdata (which may not do much other than check that the data has class
TSdata).Methods
The TSdata
class of objects has methods for the generic
functions print, plot, periods, start, end, ..., test.equal, series.names,
input.series.names, output.series.names
Also, the function is.TSdata
is supported.Inheritance
Other data classes inherit from the class TSdata
.Structure
Objects are a list with class the most general class "TSdata". The
native form for this library has elements input
and
output
. Any other elements are ignored. input
and
output
are matrices (or tframe or time series matrices) of the
input and output data, with each series in a column. TSPADIdata
objects inherit from this class but have a somewhat different
structure. TSPADIdata
makes it possible to retrieve data from
an external database when it is needed. These subclass objects do not
contain the actual data, but only the names of the series and the data
base where they are located. The function set.TSPADIdata can be used to set
up an object of class c("TSPADIdata", TSdata").