R files and images for project 1