Description Usage Arguments Value Examples
Takes a data frame and records it in ARFF (Attribute-Relation File Format).
1 2 |
x |
A data.frame |
relation |
Name of the dataset (optional, it may be inferred from the
|
types |
A character vector indicating the type of each variable
(optional, may be inferred from the |
file |
Name of the file where the data is to be written. Use |
sparse |
Logical: write in sparse format? |
append |
Logical: append to an existing file? |
... |
Extra parameters for internal functions |
Invisibly, the name of the file.
1 2 3 | library(yarr)
write.arff(iris, "iris", file = tempfile())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.