Constructor Function For bdSignalSeries Objects

DESCRIPTION:

Construct a bdSignalSeries object from positions and data, or return an empty bdSignalSeries object.

This function requires the bigdata library section to be loaded.

USAGE:

bdSignalSeries() 
bdSignalSeries(data, positions., units, units.position, from=1, by=1) 
as.bdSignalSeries(x)
is.bdSignalSeries(x)

REQUIRED ARGUMENTS:

data must be specified, unless the function is called with no arguments.
x
a signalSeries object.

Any S-PLUS object for is.bdSignalSeries.

OPTIONAL ARGUMENTS:

data
variable data, which will be converted to a bdFrame.
positions.
bdNumeric object to use as the time/position values.
units
units for variable data.
units.position
units for positions.
from
starting value of positions.
by
amount to skip for positions.
x
an object to be tested as or coerced to be a bdSignalSeries object.

VALUE:

a bdSignalSeries object with the given data and positions.

DETAILS:

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.

SEE ALSO:

EXAMPLES:

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)