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

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

$79.99
Sale price  $79.99 Regular price 
Skip to product information
The Book of R, 2nd Edition: A First Course in Programming and Statistics

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

by Tilman M. Davies
$79.99
Sale price  $79.99 Regular price 

Book Overview

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.
ISBN9781718503687
Author Tilman M. Davies
PublisherNo Starch Press
GenreEducation and Technology
FormatPaperback
PublishedNovember 2025
LanguageENG- English
Pages936
Weight1.0 lb
Target AudienceAdults
Print SizeStandard Print

1% fer Each of the Seven Seas

Every purchase sends 7% of our profits to The Ocean Cleanup. No fine print, no opt-in — just how we sail.

Whoever Ye Be, Welcome Aboard

Queer lit, music, art, philosophy, fiction — stories for every kind of soul. Come as ye are, matey.

About Tilman M. Davies

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.

You may also like