savePlots | R Documentation |
Function that saves plots in multiple formats
savePlots( plotObject, plotTypeValue, fileFormat = c(".png", ".pdf"), widthValue, heightValue, measureUnitsValue = "cm", extraInfoValue )
plotObject |
plot object generated by each draw plot function |
plotTypeValue |
name of type of plot used (name defined by default in each draw plot function) |
fileFormat |
format of the files to be generated (default .png and .pdf) |
widthValue |
width of the plot (defined by default in each draw plot function) |
heightValue |
height of the plot (defined by default in each draw plot function) |
measureUnitsValue |
measure units of the plot (default cm) |
extraInfoValue |
extra information to be appended to the file name |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.