The files below contain sample R code for commonly used statistical analyses and data visualizations.
Scatterplots, model building and summary, prediction, residual analysis, VIF values
Download code here
Top 50 GGplot visualizations with code:
http://r-statistics.co/Top50-Ggplot2-Visualizations-MasterList-R-Code.html#Lollipop%20Chart