1. Preface to the Second Edition
2. Preface to the First Edition
3. Acknowledgments
4. Introduction
5. PART I: THE LANGUAGE
6. Chapter 1: Getting Started
7. Chapter 2: Numerics, Arithmetic, Assignment, and Vectors
8. Chapter 3: Matrices and Arrays
9. Chapter 4: Non-Numeric Values
10. Chapter 5: Lists and Data Frames
11. Chapter 6: Special Values, Classes, and Coercion
12. Chapter 7: Basic Plotting
13. Chapter 8: Reading and Writing Files
14. PART II: PROGRAMMING
15. Chapter 9: Calling Functions
16. Chapter 10: Conditions and Loops
17. Chapter 11: Writing Functions
18. Chapter 12: Exceptions, Timings, and Visibility
19. PART III: STATISTICS AND PROBABILITY
20. Chapter 13: Elementary Statistics
21. Chapter 14: Basic Data Visualization
22. Chapter 15: Probability
23. Chapter 16: Common Probability Distributions
24. PART IV: STATISTICAL TESTING AND MODELING
25. Chapter 17: Sampling Distributions and Confidence
26. Chapter 18: Hypothesis Testing
27. Chapter 19: Analysis of Variance
28. Chapter 20: Simple Linear Regression
29. Chapter 21: Multiple Linear Regression
30. Chapter 22: Linear Model Selection and Diagnostics
31. PART V: ADVANCED GRAPHICS
32. Chapter 23: Advanced Plot Customization
33. Chapter 24: Going Further with the Grammar of Graphics
34. Chapter 25: Defining Colors and Plotting in Higher Dimensions
35. Chapter 26: Interactive 3D Plots
36. Appendix A: Installing R and Contributed Packages
37. Appendix B: Working with RStudio
38. References
39. Index
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.
Дополнительные материалы
https://nostarch.com/book-of-r-2nd-editionФайлы R для решений упражнений и исходный код
https://nostarch.com/download/BookR2e_Code.zipНабор данных Diamonds
https://nostarch.com/download/diamonds.zipДополнительные «игрушечные» файлы, используемые в примерах и упражнениях
https://nostarch.com/download/BookR2e_Supplementary_Files.zip