R Starter Kit
Practical Regression and Anova using R by Julian J. Faraway

This page describes how to access and use the book Practical Regression and Anova using R Julian J. Faraway.

Obtaining 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

install.packages("faraway")

Say that you quit R at this point.

In the future, you can load the faraway package with the library(faraway) command. This loads the data and functions associated with this package for the duration of your R session.

library(faraway)

You can see the list of data and functions you downloaded with the help() command.

help(package=faraway)

One of the data files is called death. Say we want to access the death data file, we can type

data(death)    

You can play with the examples from the book using the data files and functions provided in this package.

How to cite this page

Report an error on this page or leave a comment

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.