r-script to create plots from Stats.csv