Refactored and commented the R code. Added a Readme file.
Attach a file by drag & drop or click to upload