This page describes how to access and use the data files associated with the book Data Analysis and Graphics Using R by John Maindonald and John Braun
About the Book
Obtaining the data files
You can reproduce the examples from the book by obtaining the data files from within R. You can get the data files (as well as the supplemental programs used in the book) by typing the following command from within R
Say that you quit R at this point.
In the future, you can load the DAAG package with the library(DAAG) command. This loads the data and functions associated with this package for the duration of your R session.
You can see the list of data and functions you downloaded with the help() command.
One of the data files is called rice. Say we want to access the rice data file, we can type
You can play with the examples from the book using the data files and functions provided in this package.
The content of this web site should not be construed as an endorsement of any particular web site, book, or software product by the University of California.