R scripts and samples initially created for coursera class