Save a ggplot object as a figure, with some defaults (PNG and PDF only)

lazy_ggsave(plot, filename, width = 14, height = 10)

Arguments

plot

A ggplot object

filename

Filename (with no extensions!)

width

Width of the figure (in cm)

height

Height of the figure (in cm)

Value

Does not return anything, just saves a file to disk