RWeka (version 0.3-14)

read.arff: Read Data from ARFF Files

Description

Reads data from Weka Attribute-Relation File Format (ARFF) files.

Usage

read.arff(file)

Arguments

file
a character string with the name of the ARFF file to read from, or a connection which will be opened if necessary, and if so closed at the end of the function call.

Value

  • A data frame containing the data from the ARFF file.

References

Attribute-Relation File Format http://www.cs.waikato.ac.nz/~ml/weka/arff.html

See Also

write.arff

Examples

Run this code
read.arff(system.file("arff", "contact-lenses.arff",
                      package = "RWeka"))

Run the code above in your browser using DataCamp Workspace