R mini-guide exemplar 6

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 you want to analyse from thePEAs web page by clicking on it from the web page or from here: ex6.RData to impute from the scores or ex6det.RData to use the detailed questions.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 files by saving one of them from here ( ex6.R or ex6det.R ) or from 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.