bdSignalSeries
object from positions and data, or
return an empty
bdSignalSeries
object.
This function requires the bigdata library section to be loaded.
bdSignalSeries() bdSignalSeries(data, positions., units, units.position, from=1, by=1) as.bdSignalSeries(x) is.bdSignalSeries(x)
data
must be specified, unless the function is
called with no arguments.
signalSeries
object.
Any S-PLUS object for
is.bdSignalSeries
.
bdFrame
.
bdSignalSeries
object with the given data and positions.
If no arguments are supplied, the default (empty)
bdSignalSeries
object
is returned. Otherwise, a
bdSignalSeries
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.
bdSignalSeries() bdSignalSeries(data.frame(x = 11:20, y = 21:30), 1:10, units = c("mm", "cm")) bdSignalSeries(data = data.frame(x = 11:20), from = 1, by = 1)