Description Usage Arguments Details
This is equivalent to using the export feature in the RStudio plot interface, just faster and easier to program into a script.
1 |
plot |
The plot object |
name |
Name of the plot to be printed |
w |
Width of plot in pixels. Default set to 547 |
h |
Height of plot in pixels. Default set to 438 |
path |
Base filepath of the directory to be printed to |
This function will automatically append today's date using the Sys.Date function to the end of the plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.