signalSeries-class | R Documentation |
Represents non-calendar time series and signal objects.
The signalSeries
class inherits from the series
and seriesVirtual
classes. It has slots that 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.
All 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 TRUE
,
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
) the units for the data.
(character
) the title of the data set.
(character
) user-supplied documentation.
(ANY
) the attributes slot for arbitrary use.
(character
) the units for the positions
slot.
You can create objects of class signalSeries
using the new
function, in
which case they are set up to be empty. Alternatively, you can create objects
of class signalSeries
using the signalSeries
function.
These objects can be subscripted and used in mathematical operations much like data frames or matrices.
series
class, signalSeries
, is.rectangular
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.