functional programming

Writing Functions to Automate Repetitive Plotting Tasks in ggplot2

Sooner or later (usually sooner) a data analyst runs into a situation where one needs to make multiple visualizations on the same subject, which can be slow and time-consuming. By writing simple functions, it is possible to automate most of the work, thus greatly simplifying and speeding up repetitive plotting tasks.