View source: R/02-plotExport.R
writeGraphics | R Documentation |
Write Graphics
writeGraphics(exportType, plot, filename, width, height)
exportType |
(character) file type of exported plot |
plot |
(object) plot object |
filename |
the output file path.
The page number is substituted if a C integer format is included in
the character string, as in the default. (Depending on the platform,
the result should be less
than |
width |
the width of the device. |
height |
the height of the device. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.