.R file updates

this commit contains updated comments for plot1, plot2, and plot3.