add_to_plot_list | R Documentation |
add_to_plot_list
adds a plot and an optional file name
to the supplied list. If no file name is supplied an arbitrary
one is created of the form 'plot-' index
'.png'.
add_to_plot_list(plot_list, plot, filename = NULL)
plot_list |
a list to hold the plots |
plot |
a plot object |
filename |
character, the filename to use to save the plot |
the new plot list
plot_list <- add_to_plot_list(plot_list, plot)
plot_list <- add_to_plot_list(plot_list, plot, filename = 'file1.png')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.