| Downsample {Streamer} | R Documentation |
A Consumer-class to select records with fixed
probability, returning a yield of fixed size. Successive calls to
yield result in sampling of subsequent records in the stream,
until the stream is exhausted.
Downsample(probability=0.1, sampledSize=1e6, ...)
probability |
A |
... |
Additional arguments, passed to the |
sampledSize |
A |
See Consumer Methods.
Internal fields of this class are are described with, e.g.,
getRefClass("Downsample")$fields.
Internal methods of this class are described with
getRefClass("Downsample")$methods() and
getRefClass("Downsample")$help().
Martin Morgan mtmorgan@fhcrc.org
showClass("Downsample")