Reference:
R On Line Reference
(HTML, from R software) S-Plus 2000 Programer's Guide (Ch. 16, 22, 23)
(PDF, from S-Plus software) or my mirror here
An Introduction to R
(PDF, from R Manual) or my mirror here
Using R for Introductory Statistics
(PDF, from SimpleR) or my mirror here