Calendar Time Series Class
Represents calendar time series objects.
The timeSeries class inherits series and seriesVirtual.
From series, it inherits slots that hold x positions and variable data.
A timeSeries object is valid only when the lengths of the positions and
data match, the data slot is rectangular,
and the positions slot holds a positionsCalendar object.
All slots except the last two, fiscal.year.start
are inherited from the base series
(ANY) the variable data,
which can be any data object for which is.rectangular is TRUE,
such as a data.frame, matrix, or atomic vector.
(positions) the x values for the variables,
which must be of type positionsCalendar.
(positions) the starting x value.
(positions) the ending x value.
(positions) future x values used for predictions.
(character) the units for the data.
(character) the title of the data set.
(character) user-supplied documentation.
(ANY) the attributes slot for arbitrary use.
(numeric) the month number for fiscal year start.
(character) the type of time series.
You can create objects of class timeSeries using the
new function, in which case they are set up to be empty
and have their fiscal year starting in January. Alternatively, you
can create objects of class timeSeries using the timeSeries
These can be subscripted and used in mathematical operations much
like data frames or matrices.