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

1
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

1
2
3
library(mldr)

write_arff(emotions, "myemotions")