Data Mining Algorithms In R/Packages/RWeka/Read.arff

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description[edit | edit source]

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

Usage[edit | edit source]

read.arff(file)

Arguments[edit | edit source]

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[edit | edit source]

A data frame containing the data from the ARFF file.

Example[edit | edit source]

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