List of Figures

 

Chapter 1. Introduction to R

Figure 1.1. Steps in a typical data analysis

Figure 1.2. Relationships between income, education, and prestige for blue-collar (bc), white-collar (wc), and professional (prof) jobs. Source: car package (scatterplotMatrix() function) written by John Fox. Graphs like this are difficult to create in other statistical programming languages but can be created with a line or two of code in R.

Figure 1.3. Example of the R interface on Windows

Figure 1.4. Scatter plot of infant weight (kg) by age (mo)

Figure 1.5. A sample of the graphs created with the demo() function

Figure 1.6. Input with the source() function and output with the sink() function

Figure 1.7. Output from listing 1.3, including (left to right) output from the arthritis example, general help, information about the vcd package, information about the Arthritis dataset, and a graph displaying the relationship between arthritis treatment and outcome

Chapter 2. Creating a dataset

Figure 2.1. R data structures

Figure 2.2. Sources of data that can be imported into R

Figure 2.3. Entering data via the built-in editor on a Windows platform

Figure 2.4. Stat/Transfer’s main dialog on Windows

Chapter 3. Getting started with graphs

Figure 3.1. Creating a graph

Figure 3.2. Line plot of dose vs. response for drug A

Figure 3.3. Line plot of dose vs. response for drug A with modified line type and symbol

Figure 3.4. Plotting symbols specified with the pch parameter