Visualizing Data: Data Sets and S Scripts to Produce the Figures

Data Tables
This is a collection of ascii tables that contain 22 data sets from the book. They have been bundled by a UNIX command and can be unbundled in UNIX. Windows users can use text editing tools to extract the data.

Data as S Objects
This ascii file created by S contains 22 data sets from the book. There is also a README object so there are 23 objects in all. The objects were written into the file by data.dump(), and should be restored by data.restore(). For example, if the dump is in the file xxx, the S command data.restore("xxx") reads them into S. The name of each data set is the name used in the book. To find the description of the data set, look under the entry "data, name" in the index. For example, one data set is barley. To find the description of barley, look in the index under the entry "data, barley".

S Scripts
This is a collection of 270+ S scripts for producing figures in the book. The file can be read into S using source("filename"). This creates 270+ functions that can be run to produce the figures. The function names carry the figure number. For example, the function book.6.7 produces Figure 7 of Chapter 6.