Description Usage Arguments Details Examples
This will save the last ggplot call
1 2 3 4 5 6 7 8 9 | save_ggplot(
filename = "Rplot",
format = "pdf",
dingbats = FALSE,
dpi = 300,
h = 6,
w = 6,
units = "in"
)
|
filename |
The file name to be written |
format |
File extension can be "pdf", "svg", "tiff", "png", "jpg" |
dingbats |
FALSE or TRUE (for pdf only) |
dpi |
resolution for raster output types |
h |
The height |
w |
The Width |
units |
"in", "cm" |
This will save the save ggplot object that was written to the device.
1 | save_plot(filename = "Cluster plot", format = "pdf")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.