Coursera R course

Programming assignment 2