
The R codes have been generated for all the examples in the text. The codes for each chapter 
appear as Rchapx, where "x" is the chapter number. They are presented in the folder 
named "Rcodes" and are in ASCII format, so that they can be loaded directly into a 
program like Tinn-R. We have used the R version 3.0.2. All our R codes are written 
within Tinn-R (so that corrections or editing can easily be made). The codes to be executed need to be 
highlighted within Tinn-R and submitted for execution within R. 

All the data files are in the DATAFILES folder and are presented in ASCII, chapter by chapter. 
Each data relates to a known Table number within the book. Most of the data are extracted 
through MINITAB and they must therefore carry in the first column the Row variable as printed 
from MINITAB. This is ignored throughout the analyses using R, although they are automatically read into R. 

Users should load the data files into a designated directory and read in the data into R from that directory.

I have created two folders here. 


The first contains all the data files by chapter titled DATAFILES. 


The second folder contains the Rcodes for each worked examples in the text. Again, these are 
arranged by chapters and are contained in a folder titled RCODES. Please note that the data for 
chapters 3, 4, and 5 are read directly from the R programs. The data files are therefore available 
from chapter 6. 



The author acknowledges the help of Kabir Olorede and Kazeem Dauda of the Department of 
Statistics and Mathematical Sciences, Kwara State University, Malete, for their assistance 
with some of the R codes. I would also like to acknowledge the R Project for making the program available.
Finally, the R software can be freely down loaded from CRAN (Comprehensive R Archive Network) at the 
following address: http://cran.r~project.org/
 