signalSeries
class represents non-calendar time series and signal
objects in S-PLUS.
All of the slots except the last,
units.position
,
come from the
series
object.
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
) the x values for the variables, which must be
of type
positionsNumeric
.
positions
) the starting x value.
positions
) the ending x value.
positions
) future x values used for predictions.
character
) units for the data.
character
) title of the data set.
character
) user-supplied documentation.
ANY
) attributes slot for arbitrary use.
character
) units for the
positions
slot.
The
signalSeries
class inherits from the
series
and
seriesVirtual
classes. It has slots which hold x positions and variable data
inherited from the
series
class. A
signalSeries
object is valid only when the lengths of the positions and data match, the data is a rectangular object,
and the
positions
slot holds a
positionsNumeric
object.
Objects of class
signalSeries
can be created using the
new
function, in
which case they are set up to be empty.
Alternatively, they can be created using the
signalSeries
function.
They can be subscripted and used in mathematical operations much
like data frames or matrices.