Tuesday, July 30, 2019

Advanced R (second edition)


The second edition is out. My version has color pictures (so it must be good!). This book is about the R programming language (not about statistical techniques). Even if you know R really well, you will learn from this book. Hadley Wickham is the author of many extremely useful R packages including ggplot.

Contents


  1. Introduction

    I Foundation
  2. Names and values
  3. Vectors
  4. Subsetting
  5. Control flow
  6. Functions
  7. Environments
  8. Conditions

    II Functional Programming
  9. Functionals
  10. Function factories
  11. Function operators

    III Object-oriented Programming
  12. Base types
  13. S3
  14. R6
  15. S4
  16. Trade-offs

    IV Metaprogramming
  17. Big picture
  18. Expressions
  19. Quasiquotation
  20. Evaluation
  21. Translating R code

    V Techniques
  22. Debugging
  23. Measuring performance
  24. Improving performance
  25. Rewriting R code in C++

References


  1. https://adv-r.hadley.nz/  Online version of book
  2. https://github.com/hadley/adv-r The source code for the book. The book is written in bookdown.
  3. https://bookdown.org/

No comments:

Post a Comment