Course Files

Files Corresponding to Short Course Programming in R

Course Files

Below you’ll find the presentation files for the course and the exercises we’ll do during the hands on sessions.

Note: You also have access to the source material at the github repo.

We’ve also included links to materials to go further learning R at the bottom of the page!


Presentation Files


It may help to have just the R code from the slides so you can easily run the code without typing it out. Below you’ll find .R scripts with just the R code from the notes (notice that there is some extra stuff as we often use R code to bring in images and things like that).


Exercises


Exercise Sets

Streamlining R Code
Functions

Learning Resources


Cheat Sheets

RStudio IDE

Base R

Advanced R


Other Courses

Justin teaches the following three courses for Data Matters, a week-long series of one and two-day courses aimed at students and professionals in business, research, and government.


Basics of R for Data Science and Statistics

The course provides a modern introduction to the R through the extremely popular suite of packages called the tidyverse. A rough outline is given below:

Day 1:

Day 2:


Improving R Programs

The course provides a brief overview of R data structures followed by the following topics:


R for Automating Workflow & Sharing Work

Students will learn about the following topics:


Advanced R Book

The book is designed primarily for R users who want to improve their programming skills and understanding of the language. It should also be useful for programmers coming to R from other languages, as help you to understand why R works the way it does.