Description Usage Arguments Value Author(s) Examples
Save a list of matrices to the .csv or .txt file format.
1 2 3 4 5 6 7 8 9 |
files |
a list of matrices with numeric data. |
names |
a vector of names for files. Required. |
path |
a path to save files in. Required, but if left blank saves to current working directory. |
file.type |
one of ".csv", ".tsv" or ".txt". Defaults to .csv |
sep |
the seperator to use for separating entries across columns. One of "," for comma separated values, " " for space separated values, or "'\'t" for tab separated values. Defaults to "," |
row.names |
Rowwise names to be used as the first column if desired. Defaults to none (row.names=FALSE). |
col.names |
Column names to be used as the top row if desired. Defaults to none (col.names=FALSE). |
returns nothing, but saves files to a directory.
Brandon Vaughan
1 2 3 | **## Not run:**
save_files(cormats, subj.names, path="C:/Users/YourName/Documents/R/")
## End(**Not run**)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.