Update README.md

Updated README.md with a description of the R code