Description
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 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.
- 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.
About the Author
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.
Critical Reviews
Critical Reviews
"A game changer."
--Kirk Borne, principal data scientist at Booz Allen Hamilton
--Kirk Borne, principal data scientist at Booz Allen Hamilton
Publishing Information
Publishing Information
Publisher:
No Starch Press
Pub date:
2025-11-25
Length:
936 pages

The Allstora Membership
Membership Perks:
- Save 30% on all online store purchases
- Exclusive access to author's content
- You pay less, but authors still earn double
Membership Terms:
First Month:
$0.00
Monthly price:
$5.00
- To access membership discount simply log in and add to cart, discount applied automatically.
- One month free trial, cancel anytime. Membership renews on the 15th of each month.

