Synopses & Reviews
Learn programming in the language you want: R! Until now a gap has separated generalised introductory computer programming and the application of these programming skills specifically to statistics and data analysis. This textbook bridges that gap with a self-contained first course in statistical computing. The book uses the open-source R statistical package to introduce students to basic programming notions common to most computing languages. The basics of R syntax and statistical graphics are explained, and elementary programming is discussed, including how to develop complex projects reliably. Programming applications in simulation and optimization as well as numerical linear algebra are introduced. Real code in R is shown and all examples are drawn from statistical applications. Unlike other introductory books on the ground-breaking R system, this book emphasizes programming. Particularly useful for those studying statistics, biostatistics and econometrics, it is accessible to any student familiar with the basics of probability.
Review
"While it is rare to see in a book, denseness does not have to be difficult and this book is an example of that. The authors are terse and effective as they clearly demonstrate how to use the R package. If you lack the budget for the purchase of a commercial computational mathematics package, then R with this textbook provides a very low cost alternative for many classes."
Charles Ashbacher, Journal of Recreational Mathematics
Review
" a useful introductory text..."
Andrew Schaffner, The American Statistician
Review
"As an R novice, I appreciated the explanations. Several times, I reacted with 'Oh, that's how it is supposed to be done.' ... I like this book and I learned a lot. I am convinced that most readers (including regular R users and mature statisticians) will learn something useful from this book. Again, it is not a book for learning statistical data analysis in R, but it is the right book for a statistician to learn the structure of R, and it is a good book to study before (or after) learning data analysis. I highly recommend this book."
Myron Hlynka, Technometrics
Synopsis
This is the only introduction you'll need to start programming in R, the open-source language that is free to download, and lets you adapt the source code for your own requirements. Co-written by one of the R Core Development Team, and by an established R author, this book comes with real R code that complies with the standards of the language. Unlike other introductory books on the ground-breaking R system, this book emphasizes programming, including the principles that apply to most computing languages, and techniques used to develop more complex projects. Learning the language is made easier by the frequent exercises and end-of-chapter reviews that help you progress confidently through the book. Solutions, datasets and any errata will be available from the book's web site. The many examples, all from real applications, make it particularly useful for anyone working in practical data analysis.
Synopsis
The only introduction you'll need to start programming in R.
About the Author
W. John Braun is an Associate Professor in the Department of Statistical and Actuarial Sciences at the University of Western Ontario. He is also a co-author, with John Maindonald, of Data Analysis and Graphics Using R, 2nd edition (Cambridge University Press, 2007).Duncan J. Murdoch is an Associate Professor in the Department of Statistical and Actuarial Sciences at the University of Western Ontario. He is a member of the R Development Core Team and was columnist and column editor of the statistical computing column of Chance 1999-2000.
Table of Contents
1. Getting started; 2. Introduction to the R language; 3. Programming statistical graphics; 4. Programming with R; 5. Simulation; 6. Computational linear algebra; 7. Numerical optimization; Appendix. Review of random variables and distributions; Index.