R/lazy_ggsave.R
lazy_ggsave.Rd
Save a ggplot object as a figure, with some defaults (PNG and PDF only)
lazy_ggsave(plot, filename, width = 14, height = 10)
plot | A ggplot object |
---|---|
filename | Filename (with no extensions!) |
width | Width of the figure (in cm) |
height | Height of the figure (in cm) |
Does not return anything, just saves a file to disk