Utility to save plots with a consistent naming scheme.
Usage
save_plot_dynamic(plot_obj, filename_stub, out_dir, width = 10, height = 6)
Arguments
- plot_obj
The ggplot object.
- filename_stub
Name without extension.
- out_dir
Directory to save to.
- width
Width in inches.
- height
Height in inches.
Value
Path to saved file (invisible).