Includes R code

Update includes R equations
Merge pull request #1 from wabranty/master

Includes R code