Some tools to access the metadata in ARFF files. attr.names retrieves the names of the attributes, attr.types returns the ARFF type of each variable, relation shows the name/relation specified in the @relation section of the file.

attr.names(x)

attr.types(x)

relation(x)

Arguments

x

A dataset read using read.arff