This is code is my submission of the programming assignment #2 on the coursera R Programming course