New R files for plotting project