write_arff {mldr} | R Documentation |
"mldr"
object to a fileSave the mldr
content to an ARFF file and the label data to an XML file.
If you need faster write, more options and support for other formats, please
refer to the write.mldr
function in package mldr.datasets.
write_arff(obj, filename, write.xml = FALSE)
obj |
The |
filename |
Base name for the files (without extension) |
write.xml |
|
In mldr.datasets: write.mldr
dir <- tempdir()
write_arff(emotions, file.path(dir, "myemotions"))
file.remove(file.path(dir, "myemotions.arff"))