Recommended Textbooks

Below is the recommendation for reference. All the materials are freely available online.

Textbooks

R for Data Science 2nd edition and Solutions to Exercises

This book mainly uses the dplyr package, which we do not cover in this course (Instead, we use data.table package.) But still, some chapters are highly useful for learning the basics of R. Specifically, take a look at the following chapters:


Introduction to data.table

I highly recommend this as an introduction to data.table syntax.

ggplot2: Elegant Graphics for Data Analysis (3e)

Modern Data Visualization with R by Robert Kabacoff

Matloff, Norman. The art of R programming: A tour of statistical software design. No Starch Press, 2011.

The Programming for Econometrics class uses this book.

Syntax Cheat Sheets

Data Transformation with data.table