The Book of R: A First Course in Programming and Statistics, 2nd Edition

The Book of R, 2nd Edition: A First Course in Programming and Statistics book cover

The Book of R, 2nd Edition: A First Course in Programming and Statistics

Author(s): Tilman M. Davies (Author)

  • Publisher: No Starch Press
  • Publication Date: November 25, 2025
  • Edition: 2nd
  • Language: English
  • Print length: 936 pages
  • ISBN-10: 1718503687
  • ISBN-13: 9781718503687

Book Description

This long-awaited second edition folds years of updates into its beginner-friendly lessons on using R for data and statistical analysis.

The Book of R is a comprehensive, beginner-friendly guide to R, the world’s most popular programming language for statistical analysis. Even if you have no programming experience and little more than a grounding in the basics of mathematics, you’ll find everything you need to begin writing programs in R.

You’ll start with the basics, like how to handle data and write simple programs, before moving on to more advanced topics, like producing statistical summaries of your data and performing tests and modeling. You’ll even learn how to create impressive data visualizations with R’s graphics tools and contributed packages, like ggplot2, ggvis, and rgl.

Dozens of hands-on exercises take you from theory to practice as you learn:

  • The fundamentals of programming in R, including how to write data frames, create functions, and use variables, statements, and loops
  • Statistical concepts like exploratory data analysis, probabilities, hypothesis tests, and regression modeling and how to execute them in R
  • How to access R’s thousands of functions, libraries, and datasets
  • How to draw valid and useful conclusions from your data and create publication-quality graphics of your results


The Book of R brings both statistics and R to life. With clear explanations, practical examples, and hands-on exercises, this book opens the door to the evolving world of data analysis.

New to this edition: The entire book has been revised and expanded, with nearly 100 pages of new content and exercises. You’ll find greater coverage of data plots and R graphics, guidance on using pipes to string together commands, and new ways to read and write external files, among many other lessons.

Editorial Reviews

Review

“A game changer.”
—Kirk Borne, principal data scientist at Booz Allen Hamilton

About the Author

Tilman M. Davies is an academic at the Department of Mathematics and Statistics at the University of Otago in New Zealand, where he teaches statistics at all university levels. He has been programming in R since the early 2000s and uses it in all of his courses. Davies has received multiple significant research grants for his methodological work in spatial statistics and in 2024 received the Littlejohn Award, the premier research award of the New Zealand Statistical Association.

Amazon Page

下载地址

EPUB, PDF(conv) | 43 MB | 2025-11-10
下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » The Book of R: A First Course in Programming and Statistics, 2nd Edition

评论 抢沙发

觉得文章有用就打赏一下文章作者

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫