Adding R script to plot results.