The second programming assignment for the R Programming course on Coursera