For the coursera R programming peer assignment