Learn R Programming

stream (version 0.1-1)

DSD_mlbenchData: A Wrapper for Data Sets from mlbench

Description

Provides a convenient wrapper for data sets from the mlbench package.

Usage

DSD_mlbenchData(data, loop = FALSE, random = FALSE, scale = FALSE)

Arguments

data
The name of the dataset from mlbench. If missing then a list of all available data sets is shown and returned.
loop
A flag that tells the stream to loop or not to loop over the data frame.
random
A flag that determines if the data should be in a random order.
scale
A flag that determines if the data should be scaled.

Value

  • Returns a DSD_mlbenchData object which is also of class DSD_Wrapper.

Details

The DSD_mlbenchData class is designed to be a wrapper class for data that is held in memory in either a data frame or matrix form. It functions nearly identical to DSD_Wrapper.

Call DSD_mlbenchData with a missing value for data to get a list of all available data sets.

See Also

DSD, DSD_Wrapper, reset_stream

Examples

Run this code
dsd <- DSD_mlbenchData("Shuttle")
dsd

plot(dsd, n=100)

Run the code above in your browser using DataLab