Update README.md

Added R-code to section 2.