Assignment 2 in the R Programming course from Johns Hopkins/Coursera in November 2014.