『Lattice: Multivariate Data Visualization with R』

Deepayan Sarkar

(2008年刊行,Springer-Verlag[Series: Use R!], Berlin, xviii+265 pp.,ISBN:9780387759685 [pbk] → 版元ページ著者サイト



【目次】
Preface vii
1. Introduction 1
1.1 Multipanel conditioning 2
1.2 Superposition 5
1.3 The “trellis” object 6
1.4 Looking ahead 7

Part I: Basics

2. A technical overview of lattice 13
2.1 Basic usage 13
2.2 Dimension and physocal layout 16
2.3 Grouped displays 24
2.4 Annotation: Caprions, labels, and legends 26
2.5 Graphing the data 28
2.6 Return value 33
3. Visualizing univariate distributions 35
3.1 Density plot 35
3.2 Large datasets 37
3.3 Histograms 39
3.4 Normal Q-Q plots 40
3.5 The empirical CDF 44
3.6 Two-sample Q-Q plots 44
3.7 Box-and-phisker plots 47
3.8 Strip plots 50
3.9 Coercion rules 52
3.10 Discrete distributions 53
3.11 A note on the formula interface 54
4. Displaying multiway tables 55
4.1 Cleveland dot plot 55
4.2 Bar chart 57
4.3 Visualizing categorical data 65
5. Scatter plots and extensions 67
5.1 The standard scatter plot 67
5.2 Advanced indexing using subscripts 71
5.3 Variants using the type argument 75
5.4 Scatter-plot variants for large data 82
5.5 Scatter-plot matrix 84
5.6 Parallel coordinate plot 87
6. Trivariate displays 91
6.1 Three-dimensional scatter plots 91
6.2 Surfaces and two-way tables 98
6.3 Theoretical surfaces 110
6.4 Choosing a palette for false-color plots 113

Part II: Finer Control

7. Graphical parameters and other settings 119
7.1 The parameter system 119
7.2 Available graphical parameters 126
7.3 Non-graphical options 131
7.4 Making customizations persistent 131
8. Plot coordinates and axis annotation 133
8.1 Packets and the prepanel function 133
8.2 The scales argument 134
8.3 Limits and aspect ratio 140
8.4 Scale components and the axis function 144
9. Labels and legends 151
9.1 Labels 151
9.2 Legends 152
9.3 Page annotation 162
10. Data manipulation and related topics 165
10.1 Nonstandard evaluation 165
10.2 The extended formula interface 166
10.3 Combining data sources with make.groups() 170
10.4 Subsetting 173
10.5 Shingles and related utilities 177
10.6 Ordering levels of categorical variables 187
10.7 Controlling the appearance of strips 193
10.8 An example revisited 198
11. Manipulating the “trellis” object 201
11.1 Methods for “trellis” objects 201
11.2 The plot(), print(), and summary() methods 202
11.3 The update() method and trellis.last.object() 206
11.4 Tukey mean-difference plot 208
11.5 Specialized manipulations 210
11.6 Manipulating the display 211
12. Interacting with Trellis displays 215
12.1 The traditional graphics model 215
12.2 Vierports, trellis.vpname(), and trellis.focus() 216
12.3 Interactive additions 217
12.4 Other uses 223

Part III: Extending Trellis Displays

13. Advanced panel functions 229
13.1 Preliminaries 229
13.2 A toy example: Hypertrochoids and hypercycloids 232
13.3 Some more examples 235
13.4 Three-dimensional projections 241
13.5 Maps 242
14. New Trellis displays 247
14.1 S3 methods 248
14.2 S4 methods 249
14.3 New functions 251


References 255
Index 259