R Crash Course

Author

Josie Griffin ’09

Agenda

This document will take you through the basics of getting started with R and RStudio. After today, you will have examples of code that take you from loading data to creating and analyzing graphs. We are starting from scratch and so you should not expect yourself to understand all aspects of the code right away. The main thing you should focus on is knowing what parts of the code you can swap out to adapt it to your data.

If you need help with any part of the coding work, the best place to go is the DataLab in ETC 226. There are also additional R resources on the Data@Reed R page, including a few workshops that go through what we’ll be doing but a little bit slower.

This workshop is designed for you to code entirely within this browser, but if you would like to use your own version of R, you can either download it (be sure to download R and RStudio) or use the Reed R Server.