Language: English
Pages: 98
1 What is R?......Page 4
2.1 Advantages......Page 5
2.3 Alternatives......Page 6
3 Running R from the ITC network......Page 8
4 Obtaining your own copy of R......Page 9
4.1 Installing new packages......Page 11
5.1 Starting R......Page 12
5.3 Setting up a workspace......Page 13
5.4 The command prompt......Page 14
5.5 On-line help......Page 15
5.6 Saving your analysis steps......Page 16
5.8 Writing and running scripts......Page 17
5.9 Using the Rcmdr GUI......Page 18
5.11 Sample datasets......Page 20
6.1 Command-line calculator......Page 22
6.2 Creating new objects: the assignment operator......Page 23
6.3 Methods and their arguments......Page 24
6.4 Vector and list data structures......Page 26
6.5 Arrays and matrices......Page 27
6.6 Data frames......Page 32
6.7 Selecting subsets......Page 35
6.8 Simultaneous operations on subsets......Page 38
6.9 Rearranging data......Page 39
6.10 Random numbers and simulation......Page 40
6.11 Objects and classes......Page 42
6.12 Descriptive statistics......Page 44
6.13 Classification tables......Page 45
6.14 Statistical models in S......Page 46
6.15 Missing values......Page 48
6.17 User-defined functions......Page 49
7.1 Base graphics......Page 52
7.2 Types of base graphics plots......Page 56
7.3 Interacting with base graphics plots......Page 58
7.4 Trellis graphics......Page 59
7.6 Adjusting Trellis graphics parameters......Page 65
7.7 Multiple graphics windows......Page 67
7.8 Multiple graphs in the same window......Page 68
8.1 Preparing data directly......Page 70
8.2 Importing data from a CSV file......Page 72
9 Exporting from R......Page 74
10.2 Setting up a random sampling scheme......Page 76
11.1 R tutorials and introductions......Page 78
11.4 Web Pages to learn R......Page 79
11.5 Keeping up with developments in R......Page 80
12.1 Help! I got an error, what did I do wrong?......Page 81
12.2 Why didn't my command(s) do what I expected?......Page 83
12.3 How do I find the command to do what I want?......Page 84
12.4 What statistical procedure should I use?......Page 86
A An example script......Page 87
B An example function......Page 90
References......Page 92
Index of R concepts......Page 95