R scripts for Coursera Data Science track