save_kpi | R Documentation |
Save a plot to a number of friendly formats
save_kpi( path, format = "screen", mode = get_mode(), margin = 0.17, plot = ggplot2::last_plot(), dpi = 300, force_path = F, portrait = F, debug = F )
path |
File path |
format |
A string giving output format ("a3", "a4", or "screen") |
mode |
Mode of operation. See modes for more. |
margin |
Margin of plot (in inches). Default of 0.17 matches most printers. |
plot |
ggplot2 plot |
dpi |
A number giving DPI |
force_path |
bool |
portrait |
bool |
debug |
bool |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.