Big-Data Signal Plot

DESCRIPTION:

Function to plot a bigdata signal series, by aggregating and then calling the plot.signalSeries function. This is the method for the plot function for class bdSignalSeries, and it can also be called directly.

This function requires the bigdata library section to be loaded.

USAGE:

plot(x, pos, FUN = function(x) mean(x, na.rm = T), 
together = F, by, colnames,
...,  frame=sys.nframe())

REQUIRED ARGUMENTS:

x
a univariate or multivariate bdSignalSeries object.

OPTIONAL ARGUMENTS:

pos
Positions to aggregate the series to (passed into aggregateSeries).
FUN
Function to aggregate the series with (passed into aggregateSeries).
together
If T, pass all the columns of x into FUN together; if not, each column is aggregated separately. (passed into aggregateSeries).
by
If pos is missing, aggregate using a sequence spaced by by. If by is missing, the function chooses a value based on the range of positions of the series (passed into aggregateSeries).
colnames
Column names to use for the aggregated series (default is to use the column names of x) (passed into aggregateSeries).
...
Plotting arguments for the plot.signalSeries function.
frame
the frame in which to parse the ... arguments. This argument can be used when plot is called from within another function if the plot titles are not coming out correctly.

VALUE:

the output of axis.numeric for the x-axis, for compatibility with plot.signalSeries.

SIDE EFFECTS:

A plot will be produced on the active device, created by aggregating the input series with the given arguments, and then passing the resulting series (as a signalSeries object) to the plot.signalSeries function.

SEE ALSO:

, .

EXAMPLES:

## plot the "say wavelet" signal
x <- bdSignalSeries(say.wavelet@data, say.wavelet@positions)
x@title <- say.wavelet@title
plot(x)