View source: R/save_signature_plot.R
This function saves a plot object x (usualy from plot_*_signature) to a PDF named filename.
1 | save_signature_plot(x, filename, plot_height = 4)
|
x |
A ggplot object |
filename |
The name of the PDF to generate (must end in .pdf). |
plot_height |
The height of the plot to generate. All plots have a 1:3 aspect ratio. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.