- The material linked to this page was previously used for the
Statistics 200 lab course, last taught by Brendan Murphy and John
Hartigan in Spring 1998.
The labs were created by Brendan Murphy and David Pollard.
- The labs were based on an old version of Splus. Nevertheless,
most of the calculations still work with current versions of Splus (and R).
- Directions related to specific directories on the Statlab machines are probably no longer accurate.
Topics to be covered
Click on the class number to view the corresponding handout for the
The first five weeks will provide an introduction to S-Plus.
[Spring98] Getting into and out of S-Plus. Help! Saving your work.
S-Plus output in reports. Introduction to lists, vectors, matrices,
and graphics. An illustrative example.
[Spring98] Reading data from other sources; data from WWW sites (such
StatLib at Carnegie-Mellon
and the U.S. Census
Bureau). Data frames. Evaluation frames. Libraries. Search
[Spring98] Fancier graphics: beyond the defaults. Multiple plots per
split screens, "graphics frames".
[Spring98] Matrices, arrays, and factors.
[Spring98] More about functions. Default arguments, variable numbers
return values. Idiot-proofing. Looping and conditional
End of introduction to Splus
[Spring98] Data structures. Regression and model fitting. Manipulation
[Spring98] Low-level graphics. Construction of customized plots.
[Spring98] Fancy pictures: Trellis
[Spring98] Classes and methods.
[Spring98] Multivariate plotting.
[Spring98] Libraries and dynamic graphics.
[Spring98] Special projects.
Probably the most convenient reference for you will be the help system
built into Splus.
Richard A. Becker, John M. Chambers, and Allan R. Wilks (1988) The
S Language: A programming environment for data analysis and
Wadsworth. [Slightly dated. Just for reference.]
W. N. Venables and B. D. Ripley (1997) Modern Applied Statistics
S-Plus. (Second edition) Springer-Verlag.
Phil Spector (1994) An Introduction to S and S-Plus.
gentler introduction than Venables&Ripley. No coverage of more
developments. Very little material specific to Windows version.]
There is a very active S-news group, where many questions are asked
answered about Splus. Statlib maintains a searchable
archive of the discussions that have taken place. Often this site
the best source for particularly puzzling problems with Splus. The
of frequently asked
is a good place to look for starters.
Yale FAQ: a collection
of explanations to Frequently Asked Questions in