R scripts to plot 3 of the graphs required by the project