Construct a signalSeries object from positions and data, or return an empty signalSeries object.
signalSeries(data, positions., units, units.position, from=1, by=1)
a signalSeries
object with the given data and positions.
amount to skip for positions.
variable data, which will be converted to a rectangular object with the as.rectangular function.
starting value of positions.
numeric or numeric sequence object to use as the time/position values.
units for variable data.
units for positions.
s4 style conversion to another class ala as(x, foo) where foo is
any of the following: "character"
, "complex"
, "data.frame"
, "integer"
,
"logical"
, "matrix"
, "numeric"
, "vector"
.
convert to a data.frame
.
convert to a matrix.
cumulative summation over series.
samlig intervals of series.
differencing operation applied to the series. Usage: diff(x, ...) where the ...
are additional arguments
sent directly to the diff
function.
plots the series.
If no arguments are supplied, the default (empty) signalSeries object is returned. Otherwise, a signalSeries object is created with the given positions and data, and units if they are supplied. As an alternative to supplying the positions directly, they can be supplied by giving from and by, in which case the positions are generated as a numeric sequence with the right length to match the data.
numericSequence
.