Description Usage Arguments Value
Save a ggplot2 plot Save plot with specific needs i.e. plot for a Beamer presentation
1 2 3 4 5 6 7 8 9 10 11 12 |
plot |
a ggplot2 object |
file_name |
a charachter string to save the plot |
path |
a charachter string for the directory where to save the plot |
output |
type of output: NULL, Beamer, Beamer/2 or Beamer_height |
scale |
a numeric value for the scale of the plot |
width |
a numeric value in cm |
height |
a numeric value in cm |
device |
a charachter string for the type of devince to be saved pdf, png, jpeg... |
Save |
a boolean, if FALSE plot is not saved |
units |
a boolean, if FALSE plot is not saved |
save a plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.