ProjectTemplate (version 0.4-2)

arff.reader: Read the Weka file format.

Description

This function will load a data set stored in the Weka file format into the specified global variable binding.

Usage

arff.reader(data.file, filename, variable.name)

Arguments

data.file
The name of the data file to be read.
filename
The path to the data set to be loaded.
variable.name
The name to be assigned to in the global environment.

Value

  • No value is returned; this function is called for its side effects.

Examples

Run this code
arff.reader('example.arff', 'data/example.arff', 'example')

Run the code above in your browser using DataLab