Add R script to read, process and plot data