Books  Data Analysis & Modelling  Data Analysis & Statistics 

A First Course in Statistical Programming with R

TextbookHandbook / ManualNew Edition
Self-contained and accessible to anyone familiar with university-level calculus
The basics of R syntax and statistical graphics are explained with real R code
Programming ideas, including good, efficient style and debugging, are introduced
Applications in simulation and optimization as well as numerical linear algebra are discussed

By: W John Braun (Author), Duncan J Murdoch (Author)

230 pages, 5 colour & 40 b/w illustrations

Cambridge University Press

Paperback | Jul 2016 | Edition: 2 | #228497 | ISBN-13: 9781107576469
Availability: Usually dispatched within 6 days Details
NHBS Price: £29.99 $37/€34 approx
Paperback | Dec 2007 | Edition: 1 | #169264 | ISBN-13: 9780521694247
Availability: Usually dispatched within 6 days Details
NHBS Price: £29.99 $37/€34 approx

About this book

This new, colour edition of Braun and Murdoch's bestselling textbook integrates use of the RStudio platform and adds discussion of newer graphics systems, extensive exploration of Markov chain Monte Carlo, expert advice on common error messages, motivating applications of matrix decompositions, and numerous new examples and exercises. This is the only introduction you'll need to start programming in R, the computing standard for analyzing data. Co-written by an R Core Team member and an established R author, A First Course in Statistical Programming with R comes with real R code that complies with the standards of the language. Unlike other introductory books on the R system, A First Course in Statistical Programming with R emphasizes programming, including the principles that apply to most computing languages, and techniques used to develop more complex projects. Solutions, datasets, and any errata are available from the book's website. The many examples, all from real applications, make it particularly useful for anyone working in practical data analysis.

Review of the first edition:

"[...] with this book, you can be up and running, doing very advanced work with R in a matter of minutes. Using a series of code examples, the authors take you through many of the basic capabilities of the package. All that is needed to follow the examples is a basic understanding of control constructs such as the if-then, loops and functions as well as knowledge of the underlying mathematics."
– Charles Ashbacher, Journal of Recreational Mathematics


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

Write a review

There are currently no reviews for this product. Be the first to review this product!


W. John Braun is Deputy Director of the Canadian Statistical Sciences Institute. He is also Professor and Head of the Departments of Computer Science, Physics, Mathematics and Statistics at the University of British Columbia, Okanagan. His research interests are in the modeling of environmental phenomena, such as wildfire, as well as statistical education, particularly as it relates to the R programming language.

Duncan J. Murdoch is a member of the R Core Team of developers and is co-president of the R Foundation. He is one of the developers of the rgl package for 3D visualization in R and has also developed numerous other R packages. Murdoch is also a professor in the Department of Statistical and Actuarial Sciences at the University of Western Ontario.

Bestsellers in this subject

Choosing and Using Statistics

NHBS Price: £28.50 $35/€32 approx

Camera Trapping for Wildlife Research

NHBS Price: £34.99 $43/€39 approx

The R Book

NHBS Price: £65.50 $80/€74 approx

Statistics for Ornithologists

NHBS Price: £11.90 $15/€13 approx

Statistics for Ecologists Using R and Excel

NHBS Price: £29.99 $37/€34 approx