R scripts for Coursera Data Science Course