datastream_ffdf {RMOA} | R Documentation |
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.
data |
a data.frame to extract data from in a streaming way |
A class of type datastream_ffdf
which contains
The ffdf to extract instances from
See datastream
get_points(n)
Get data from a datastream object.
integer, indicating the number of instances to retrieve from the datastream
## 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