Introductory and Advanced R Courses
You can complete these courses at your own convenience, but completing them as soon as possible will help you get comfortable using R for your homework assignments.
- Intro to R course (You can find a list of topics covered here)
- Advanced R course (You can find a list of topics covered here)
Introductory and Advanced R Courses
We've also created tutorials on how to use different packages in R.
- R Tutorials: Basic Functions
- R Tutorial: ggplot
- R Tutorial: Simulations
- R Tutorial: Introduction to the class lm
In addition to the in-course tutorials, here are many other great resources that you find can find online for learning R:
Cheat Sheets
RStudio Cheatsheets: A collection of very helpful cheat sheets published on RStudio's official website. Directly below are shortcuts to the most relevant cheat sheets for this course:
Books/References:
- R for Data Science: A thorough and well-presented online book covering a complete foundation of R. Largely focuses on data types and workflow. Answers for the exercise solutions can be found here: https://jrnold.github.io/r4ds-exercise-solutions/
- Introduction to Open Data Science: A short training program/online guide which closely matches the material covered in this Intro to R course. Focuses on tidyr, dplr, and ggplot2.
- ZevRoss: An even more comprehensive guide to ggplot2.
- ggplot2 Search by Task: Yet another ggplot2 guide which condenses visualization commands in an easy-to-search table.
Remember, Google is a very helpful resource in case you ever get stuck! You can copy-and-paste error messages into Google if you don’t understand them. Adding “R” into your Google search query may also help specify results, as many programming languages share similar types of errors or the same method names.
Additionally, you may notice that Googling your questions about R will lead you to a forum called Stack Overflow! Stack Overflow is a very helpful forum which is often used by programmers to help each other troubleshoot. You can search the forum to see if anyone has asked a similar question previously or you can create your own account to post your own question. When searching Stack Overflow, it may be helpful to search for R-tagged entries by entering “[R]” into your search field. Best of luck!