datastream_ffdf: data streams on an ffdf

datastream_ffdfR Documentation

data streams on an ffdf

Description

Reference object of class datastream_ffdf. This is a class which inherits from class datastream and which can be used to read in a stream from a ffdf from the ff package.

Arguments

data

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

Value

A class of type datastream_ffdf which contains

data:

The ffdf 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

## You need to load package ff before you can use datastream_ffdf
require(ff)
irisff <- as.ffdf(factorise(iris))
x <- datastream_ffdf(data=irisff)
x$get_points(10)
x
x$get_points(10)
x

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