Arrange ggplot objects with gridExtra::grid.arrange and write the result to a PNG file

arrange_in_png(plots, filename, ...)

Arguments

plots

list of ggplot objects

filename

full path to the PNG file to be written. The extension ".png" will be automatically appended if it is omitted

arguments passed to grid.arrange