Project 1 R code and PNG figures.