save_figs | R Documentation |
Save Figures
save_figs( name, fig, width = 6, height = 6, plot_dir = file.path(here::here(), "analysis/plots") )
name |
Name of figure |
fig |
ggplot or similar figure object |
width |
Width of plot in inches. Default = 6 |
height |
Height of plot in inches. Default = 6 |
plot_dir |
Plotting directory. Defaults to "analysis/plots" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.