Some R code for the Duke University/Coursera course "Data Analysis and Statistical Inference"