First commit of all existing R files for my thesis
Merge https://github.com/daniellemccool/R-REM-TVC