Step 1: If you have not aleady done so you will need to download the R package and
install it on your computer (takes about 3 minutes).
Step 2: Next OPEN the data file from thePEAs web page by clicking on it from the web page or from here:
ex3.RData .You have now opened the data file in R.
Step3: If you have R version 2.01 or later you can use the supplied R script file by saving it from here ( ex3.R )or the web page to a local drive and opening it from the file >" open script file" menu in R. Each line of code commands should then display data results.
Step 4 : To analyse surveys in R you will need to download the SURVEY library. Instructions are explained in the script files.