Plot | R Documentation |
This is most useful for working with IRkernl in Jupyter notebooks
Plot( p, file = NULL, path = NULL, suffix = "", saveObj = TRUE, saveImg = FALSE, width = NA, height = NA, ... )
p |
Plot object (ggplot2, base, etc) |
file |
File name to write. If NULL, the name will be based on the md5sum of the object, so the name will change if the object changes. |
path |
Path to write to. If NULL, the path will be .figures/. |
suffix |
File name suffix (eg., '.png') |
saveObj |
Write the Robj to a file? |
saveImg |
Write the image to a file? |
width |
Figure width. If NA, uses global options |
height |
Figure height. If NA, uses global options |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.