×

The R book. (English) Zbl 1115.62007

Chichester: John Wiley & Sons (ISBN 978-0-470-51024-7/hbk; 978-0-470-51507-5/ebook). viii, 942 p. (2007).
Preface: \(R\) is a high-level language and an environment for data analysis and graphics. The design of \(R\) was heavily influenced by two existing languages: Becker, Chambers and Wilks’ \(S\) and Sussman’s Scheme. The resulting language is very similar in appearance to \(S\), but the underlying implementation and semantics are derived from Scheme. This book is intended as an introduction to the riches of the \(R\) environment, aimed at beginners and intermediate users in disciplines ranging from science to economics and from medicine to engineering. I hope that the book can be read as a text as well as dipped into as a reference manual. The early chapters assume absolutely no background in statistics or computing, but the later chapters assume that the material in the earlier chapters has been studied.
The book covers data handling, graphics, mathematical functions, and a wide range of statistical techniques all the way from elementary classical tests, through regression and analysis of variance and generalized linear modelling, up to more specialized topics such as spatial statistics, multivariate methods, tree models, mixed-effects models and time series analysis. The idea is to introduce users to the assumptions that lie behind the tests, fostering a critical approach to statistical modelling, but involving little or no statistical theory and assuming no background in mathematics or statistics.
Why should you switch to using \(R\) when you have mastered a perfectly adequate statistical package already? At one level, there is no point in switching. If you only carry out a very limited range of statistical tests, and you don’t intend to do more (or different) in the future, then fine. The main reason for switching to \(R\) is to take advantage of its unrivalled coverage and the availability of new, cutting edge applications in fields such as generalized mixed-effects modelling and generalized additive models. The next reason for learning \(R\) is that you want to be able to understand the literature. More and more people are reporting their results in the context of \(R\), and it is important to know what they are talking about. Third, look around your discipline to see who else is using \(R\): many of the top people will have switched to \(R\) already. A large proportion of the world’s leading statisticians use \(R\), and this should tell you something (many, indeed, contribute to \(R\), as you can see below). Another reason for changing to \(R\) is the quality of back-up and support available. There is a superb network of dedicated \(R\) wizards out there on the web, eager to answer your questions. If you intend to invest sufficient effort to become good at statistical computing, then the structure of \(R\) and the ease with which you can write your own functions are major attractions. Last, and certainly not least, the product is free. This is some of the finest integrated software in the world, and yet it is yours for absolutely nothing.
Although much of the text will equally apply to S-PLUS, there are some substantial differences, so in order not to confuse things I concentrate on describing \(R\). I have made no attempt to show where S-PLUS is different from \(R\), but if you have to work in S-PLUS, then try it and see if it works.
Contents: 1. Getting started; 2. Essentials of the \(R\) language; 3. Data input; 4. Dataframes; 5. Graphics; 6. Tables; 7. Mathematics; 8. Classical tests; 9. Statistical modelling; 10. Regression; 11. Analysis of variance; 12. Analysis of covariance; 13. Generalized linear models; 14. Count data; 15. Count data in tables; 16. Proportion data; 17. Binary response variables; 18. Generalized additive models; 19. Mixed-effects models; 20. Nonlinear regression; 21. Tree models; 22. Time series analysis; 23. Multivariate statistics; 24. Spatial statistics; 25. Survival analysis; 26. Simulation models; 27. Changing the look of graphics. References and further reading. Index.

MSC:

62-04 Software, source code, etc. for problems pertaining to statistics
62-01 Introductory exposition (textbooks, tutorial papers, etc.) pertaining to statistics
62-00 General reference works (handbooks, dictionaries, bibliographies, etc.) pertaining to statistics

Software:

S-PLUS; R
PDFBibTeX XMLCite
Full Text: DOI