R

For every statistical technique learned in this class, we will also learn how to implement in on real data in R, the free statistical language. Friday is R day, meaning that students are expected to bring laptops to class on Friday and follow along by running the same code in R sessions on their own laptops. Visit r-project.org to download R for free before the first R day (Friday, April 5).

Resources

If you are struggling to learn R, check out this blog post. It links to a lot of valuable resources for learning R. Perhaps the most pain-free way to learn the basics of R is to go through an in-browser course. Three such courses are:

For quicker help, check out this R reference card.

In-class material

Each week, we will upload the dataset, questions and solutions on which we will focus during Friday's R session.

Tutorial 7 (Friday, May 17)

Tutorial 6 (Friday, May 10)

Tutorial 5 (Friday, May 3)

Tutorial 4 (Friday, April 26)

Tutorial 3 (Friday, April 19)

Tutorial 2 (Friday, April 12)


Tutorial 1 (Friday, April 5)