textGrob.y to be inch to ensure consistent bottom marginmrggsave_last function); this gets the last plot via ggplot2::last_plot (#12)use_names argument is invoked, plots will get written out to their own file names (#14)ggsurvplot objects (#11)glue::glue once it is formed from either stem or tag (e.g. stem = "dv_pred_{runnumber}") (#15)named_plots function to generate plot names (and eventually file names) from the code used to generate the plot (#14)context function to set the output file name when using tag argument; context is set and is in effect via option until the context is changed or reset; use context_clear
ncol as a formal argument; when ncol > 1, we set arrange to TRUE
mrggpage function as a wrapper around gridExtra::arrangeGrob
mrggsave_list, which takes in a list of objects that are ready to label and to save without arrangementmrggdraw so that all it does is draw a plot or plots, possibly after arrangingmrggdraw now returns processed plots invisibly so that they may be passed into mrggsave
mrggsave_prep_object and methods so that plots of different types can be passed directly to mrggsave_common
mrggsave.gList for saving gList objectstag or stem are given as a vector, the vector is collapsed using _ as a separator first prior to forming any output file namestag, a _ separator is automatically placed between script and the (possibly collapsed) tag valuegtable objectsmrggsave method that assumes the object is a grobmrggpage to allow a list of plots to be arranged across multiple pages; added methods for handling arrangelist objects coming out of gridExtra::marrangeGrob