signalSeries
Objects
signalSeries
object from positions and data, or
return an empty
signalSeries
object.
signalSeries() signalSeries(data, positions., units, units.position, from=1, by=1)
data
must be specified, unless the function is
called with no arguments.
as.rectangular
function.
signalSeries
object with the given data and positions.
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.
signalSeries() signalSeries(data.frame(x = 11:20, y = 21:30), 1:10, units = c("mm", "cm")) signalSeries(data = data.frame(x = 11:20), from = 1, by = 1)