read.arff: Read Data from ARFF Files

View source: R/readers.R

read.arffR Documentation

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 https://waikato.github.io/weka-wiki/formats_and_processing/arff/

See Also

write.arff

Examples

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

RWeka documentation built on March 7, 2023, 6:21 p.m.