| save_pdf | R Documentation | 
Save plot as PDF
save_pdf(plot, folder, fileBaseName, width, height, ...)
| plot | A plot object that can be printed, e.g. result of ggplot2, plot_grid | 
| folder | Destination folder (will be created if it does not exist) | 
| fileBaseName | File base name (suffix ".pdf" will be added) | 
| width, height | PDF width and height in inches or as  | 
| ... | Further arguments which will be passed to  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.