Book description
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 using R effectively for statistical analysis.
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 statistical tests and modeling. You'll even learn how to create impressive data visualizations with R's basic graphics tools and contributed packages, like ggplot2 and ggvis, as well as interactive 3D visualizations using the rgl package.
Dozens of hands-on exercises (with downloadable solutions) 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 data sets
- How to draw valid and useful conclusions from your data
- How to create publication-quality graphics of your results
Publisher resources
Table of contents
- Cover
- Title
- Copyright
- Brief Contents
- Contents in Detail
- Preface
- Acknowledgments
- Introduction
- Part I: The Language
- Chapter 1: Getting Started
- Chapter 2: Numerics, Arithmetic, Assignment, and Vectors
- Chapter 3: Matrices and Arrays
- Chapter 4: Non-numeric Values
- Chapter 5: Lists and Data Frames
- Chapter 6: Special Values, Classes, and Coercion
- Chapter 7: Basic Plotting
- Chapter 8: Reading and Writing Files
- Part II: Programming
- Chapter 9: Calling Functions
- Chapter 10: Conditions and Loops
- Chapter 11: Writing Functions
- Chapter 12: Exceptions, Timings, and Visibility
- Part III: Statistics and Probability
-
Chapter 13: Elementary Statistics
- 13.1 Describing Raw Data
-
13.2 Summary Statistics
- 13.2.1 Centrality: Mean, Median, Mode
- 13.2.2 Counts, Percentages, and Proportions
- Exercise 13.2
- 13.2.3 Quantiles, Percentiles, and the Five-Number Summary
- 13.2.4 Spread: Variance, Standard Deviation, and the Interquartile Range
- Exercise 13.3
- 13.2.5 Covariance and Correlation
- 13.2.6 Outliers
- Exercise 13.4
- Chapter 14: Basic Data Visualization
- Chapter 15: Probability
- Chapter 16: Common Probability Distributions
- Part IV: Statistical Testing and Modeling
- Chapter 17: Sampling Distributions and Confidence
- Chapter 18: Hypothesis Testing
- Chapter 19: Analysis of Variance
- Chapter 20: Simple Linear Regression
- Chapter 21: Multiple Linear Regression
- Chapter 22: Linear Model Selection and Diagnostics
- Part V: Advanced Graphics
- Chapter 23: Advanced Plot Customization
- Chapter 24: Going Further with the Grammar of Graphics
- Chapter 25: Defining Colors and Plotting in Higher Dimensions
- Chapter 26: Interactive 3D Plots
- Appendix A: Installing R and Contributed Packages
- Appendix B: Working with RStudio
- Reference List
- Index
Product information
- Title: The Book of R
- Author(s):
- Release date: July 2016
- Publisher(s): No Starch Press
- ISBN: 9781593276515
You might also like
book
The R Book
The high-level language of R is recognized as one of the most powerful and flexible statistical …
book
Learning R
Learn how to perform data analysis with the R language and software environment, even if you …
book
The Art of R Programming
R is the world's most popular language for developing statistical software: Archaeologists use it to track …
book
R for Everyone: Advanced Analytics and Graphics, 2nd Edition
Statistical Computation for Programmers, Scientists, Quants, Excel Users, and Other Professionals Using the open source R …