R/savePlot.R
savePlot.Rd
Save plot to pdf.
savePlot(file, plotIn)
name to give plot file
plot object
ggplot2::ggsave return
savePlot("plot.pdf", ggplot2::qplot(1:5))#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.