ggplot2 object and writes it to disk via
ggplot2::ggsave using the
variable name as the filename.
write_plot(variable, format = "png", output_dir = dir_plots(), ...)
A tibble or dataframe object.
The desired format for the plot, be it 'png', 'pdf', etc. Accepts formats
you'd pass to
The directory to save the plot out to.
Other settings to pass to ggsave, such as format, width, height or dpi.
No return value, called for side effects