R Commands (Stats c225/c151)

    R is a free software. 
You can download copies of R and get other information from the R Home Page.


The following R commands are prepared for Stats c225/c151 with R Version 1.4.0 (MacOS X) by Hongquan Xu .
You can read data sets directly from here or from authors' webiste 
or download and save it in the working directory of R.

NOTE: only type (or copy and paste) the R command after >

(References to the tables/sections inside the files may correspond to the 1st ed.)
Chapter 2:
Chapter 3:
Chapter 4:
Chapter 5:
Chapter 6
Chapter 10: Chapter 11:
Hongquan Xu