write_arff {mldr}R Documentation

Write an "mldr" object to a file

Description

Save 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.

Usage

write_arff(obj, filename, write.xml = FALSE)

Arguments

obj

The "mldr" object whose content is going to be written

filename

Base name for the files (without extension)

write.xml

TRUE or FALSE, stating if the XML file has to be written

See Also

mldr_from_dataframe, mldr

In mldr.datasets: write.mldr

Examples



dir <- tempdir()
write_arff(emotions, file.path(dir, "myemotions"))
file.remove(file.path(dir, "myemotions.arff"))


[Package mldr version 0.4.3 Index]