Adds R analysis script + renames R markdown to be inline with script file