datastream_ffdf {RMOA} | R 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
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
[Package RMOA version 1.1.0 Index]