Learn R Programming

stream (version 0.1-1)

get_points: Get Points from a Data Stream Generator

Description

Gets points from a DSD object.

Usage

get_points(x, n=1, ...)

Arguments

x
The DSD object.
n
The number of data points being requested.
...
Additional parameters to pass to get_points() implementations.

Value

  • Returns a matrix of x$d columns and n rows.

Details

Each DSD object has a unique way for returning data points, but they all are called through the generic function, get_points(). This is done by using the S3 class system. See the man page for the specific DSD class on the semantics for each implementation of get_points().

See Also

DSD

Examples

Run this code
dsd <- DSD_GaussianStatic()
get_points(dsd, 100)

Run the code above in your browser using DataLab