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

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

Description[edit]

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

Usage[edit]

read.arff(file)

Arguments[edit]

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]

A data frame containing the data from the ARFF file.

Example[edit]

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