Description Usage Arguments Examples
Custom preset settings for ggsave, with custom sizes for PPT presentations.
1 2 |
plot |
= plot object (without quotes) filename = filename including folder structure from working directory dpi = dpi setting size_ppt = size parameter, in parts of a powerpoint slide ("quarter", "half high", "half wide", or "full") height = custom height width = custom width |
1 2 3 4 5 6 7 8 9 10 11 | ## After creating plot, use qSave() to save the plot with preset options
## Filename created from the supplied plot object name, folder "./Gfx"
## created in working directory, plot saved with default (quarter ppt) size.
qSave(plot = plt.test)
## Saved with custom file name, with size half heigh full width
qSave(plot = plt.test, filename = "Gfx/CUSTOM_NAME.png", size_ppt = "halfwide")
## Saved in custom folder, created if it doesn't already exist
qSave(plot = plt.test, folder = "CUSTOM_FOLDER")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.