View source: R/write_objects_list.R
write_objects_list | R Documentation |
Write a list of tables (data frames) and plots (ggplots
; as used by fasstr
) into a directory. Objects
that are not class "data.frame" or "gg" will not be saved. Each table and plot will be named by the object name in the list.
write_objects_list( list, folder_name, table_filetype, plot_filetype, width, height, units = "in", dpi = 300 )
list |
List of data frames and plots to write to disk. |
folder_name |
Name of folder to create on disk (if it does not exist) to write each plot from list.
If using |
table_filetype |
Table file type to write. One of |
plot_filetype |
Image type to write. One of |
width |
Numeric plot width in |
height |
Numeric plot height in |
units |
Character string plot height and width units, one of |
dpi |
Numeric resolution of plots. Default |
## Not run: # Working examples: # Example list of tables and plots to save frequency <- compute_annual_frequencies(station_number = "08NM116") # Write objects in a folder write_objects_list(list = frequency, folder_name = "Frequency Analysis", table_filetype = "xlsx", plot_filetype = "png") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.