Calendar Time Series Class

DESCRIPTION:

The timeSeries class represents calendar time series objects in S-PLUS.

SLOTS:

All of the slots except the last two, fiscal.year.start and type, are inherited from the base series class.

ARGUMENTS:

data
( ANY) the variable data, which can be any data object for which is.rectangular is T, such as a data.frame, matrix, or atomic vector.
positions
( positions) the x values for the variables, which must be of type positionsCalendar.
start.position
( positions) the starting x value.
end.position
( positions) the ending x value.
future.positions
( positions) future x values used for predictions.
units
( character) units for the data.
title
( character) title of the data set.
documentation
( character) user-supplied documentation.
attributes
( ANY) attributes slot for arbitrary use.
fiscal.year.start
( numeric) month number for fiscal year start.
type
( character) type of time series.

DETAILS:

The timeSeries class inherits series and seriesVirtual. From series , it inherits slots which 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.

SERIES FUNCTIONS:

Objects of class timeSeries can be created using the new function, in which case they are set up to be empty and have their fiscal year starting in January. Alternatively, they can be created using the timeSeries function. They can be subscripted and used in mathematical operations much like data frames or matrices.

SEE ALSO:

class, , , .