Improved R code for significance testing and box plots.