Description Usage Arguments Value Author(s) Examples
View source: R/package_functions.R
The function uses the file extension to select the appropriate save function to use. By default it uses get_output_dir to set the output directory to save the output to. By default, get_output_dir sets the working to directory to mimic the folder structure of "Output" to "Codes" by finding the folder path of the current R script.
1 2 3 4 5 |
... |
An object to be saved, including any other arguments to be passed to the save function associated with the file extension. |
file |
A character string giving the name of the file, including the extension, to be saved. |
file.override |
A character string giveing the full file path if want to override the default the output directory. |
plot |
If wanting to save a ggplot object, plot should be assigned the ggplot object. |
doc |
Boolean (T, F) to change output directory to Documenation instad of Output. Default is F. |
... |
Other arguments to pass to data.tables fread, the base load or readRDS, or writexl's write_xlsx. |
A data object (data.table or data.frame).
Alex Hubbard (hubbard.alex@gmail.com)
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.