www-ai.cs.tu-dortmund.de/LEHRE/VORLESUNGEN/KDD/SS12/FOLIEN/R-intro.pdf
scripts with segments like
chem <- scan(n=24) 2.90 3.10 3.40 3.40 3.70 3.70 2.80 2.50 2.40 2.40 2.70 2.20 5.28 3.37 3.03 3.03 28.95 3.77 3.40 2.20 3.50 3.60 3.70 3.70
and stdin() refers to the script file to [...] [,2] [,3] [,4] [,5] [1,] 1 5 9 13 17 [2,] 2 6 10 14 18 [3,] 3 7 11 15 19 [4,] 4 8 12 16 20 > i <- array(c(1:3,3:1), dim=c(3,2)) > i # i is a 3 by 2 index array.
[,1] [,2] [1,] 1 3 [2,] 2 2 [3,] 3 1 > x[i] [...] axes themselves.
Chapter 12: Graphical procedures 71
A typical figure is
x
y
−3.0 −1.5 0.0 1.5 3.0
− 3.
0 −
1. 5
0. 0
1. 5
3. 0
Plot region
mai[1]
mai[2]
Margin
−−−−−−−−−−−−−−−−−− −−−−−−−−−−−−−−−−−− −− …