This is the sample code for programming assignment of the Introduction to R programming from Johns Hopkins university