Abstract base classes for all DSAggregate (Data Stream Aggregator) classes to aggregate streams. DSAggreagate is a DST task.
DSAggregate(...)# S3 method for DSAggregate
update(object, dsd, n = 1, return = c("nothing", "model"), ...)
# S3 method for DSAggregate
get_points(x, ...)
# S3 method for DSAggregate
get_weights(x, ...)
Further arguments.
a data stream object.
the number of data points used for the update.
a character string indicating what update returns. The default is "nothing"
and "model"
returns the aggregated data.
a concrete implementation of DSAggregate
.
Michael Hahsler
The DSAggreagate
class cannot be instantiated, but it serve as a base
class from which other DSAggregate subclasses inherit.
Data stream operators use update.DSAggregate()
to process new data from the
DSD stream. The result of the operator can be obtained via get_points()
and get_weights()
(if available).