R source code, intermediate data and graphs for Project 1