assignment1 R code for the exploratory data analysis in coursera