Added info to README file on how the R code works