R code for Section 2 under Windows
R code for Section 3 under Windows
R code for Section 4 under Windows