write_datasets {moocore} | R Documentation |
Write data sets
Description
Write data sets to a file in the same format as read_datasets()
.
Usage
write_datasets(x, file = "")
Arguments
x |
|
file |
Either a character string naming a file or a connection open for
writing. |
Value
No return value, called for side effects
See Also
utils::write.table()
, read_datasets()
Examples
x <- read_datasets(text="1 2\n3 4\n\n5 6\n7 8\n", col_names=c("obj1", "obj2"))
write_datasets(x)
[Package moocore version 0.1.0 Index]