write_arff: Write an '"mldr"' object to a file

Description Usage Arguments See Also Examples

View source: R/write.arff.R

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

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

In mldr.datasets: write.mldr

Examples

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

mldr documentation built on Jan. 11, 2020, 9:18 a.m.