Description Usage Arguments Details Author(s) See Also
Oftentimes the original data matrix is too large to practically read in everytime you want to do analysis.
This often means creating a separate file for analysis. Unfortunately, if the original file is changed, the separate
file doesn't reflect those changes. read.fife
and write.fife
both read and write meta-data,
then display the original file name for the meta data.
1 2 3 4 5 6 7 8 9 | write.fife(
object,
newfile,
originalfile = NULL,
file.type = ".csv",
row.names = F,
fullpath = T,
...
)
|
object |
An R object to be written as a .csv (or whatever) file. |
newfile |
The location of the subsetted dataset to be written. |
originalfile |
The location of the original file that was subsetted. |
file.type |
The file type to be read. Defaults to .csv. |
row.names |
Should row names be written? Defaults to FALSE. |
fullpath |
Should the full path be written to the meta-data? (e.g., "documents/research/datasets/medical_data_ap9_2014.csv"). Defaults to T. |
... |
Other arguments passed to |
Technically, read.fife
and write.fife
don't actually read and write meta-data. Instead, they create
(or read) a separate file that has the same name (though different extension) than the subsetted dataset. The extension of
the meta data file is .file.
Dustin Fife
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.