datastream_dataframe: data streams on a data.frame

datastream_dataframeR Documentation

data streams on a data.frame

Description

Reference object of class datastream_dataframe. This is a class which inherits from class datastream and which can be used to read in a stream from a data.frame.

Arguments

data

a data.frame to extract data from in a streaming way

Value

A class of type datastream_dataframe which contains

data:

The data.frame to extract instances from

all fields of the datastream superclass:

See datastream

Methods

  • get_points(n) Get data from a datastream object.

    n

    integer, indicating the number of instances to retrieve from the datastream

See Also

datastream

Examples

x <- datastream_dataframe(data=iris)
x$get_points(10)
x
x$get_points(10)
x

RMOA documentation built on July 18, 2022, 1:05 a.m.