Learn R Programming

mldr (version 0.2.82)

write_arff: Writes an mldr object to a file

Description

Save the mldr content to an ARFF file and the label data to an XML file

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

Examples

Run this code
library(mldr)

write_arff(emotions, "myemotions")

Run the code above in your browser using DataLab