Click R Code-lab5.pdf link to view the file.