Welcome to Intermediate R! This short course builds onto the Intro to R course and provides a hands-on approach to using the R programming language for data science applications. In this course you will learn about various workflow approaches, scoped variable transformation, control flow, iteration with loops, iteration with functional programming, and how to write good functions. The following is an outline of the material covered in this training:
Day 1
Topic | Time |
---|---|
Breakfast / Social time | 8:00 - 9:00 |
Introductions | 9:00 - 9:30 |
Scoped variable transformations | 9:30 - 10:45 |
Break | 10:45 - 11:00 |
Control statements | 11:00 - 12:00 |
Lunch | 12:00 - 1:00 |
Workflow | 1:00 - 2:30 |
Break | 2:30 - 2:45 |
Case study | 2:45 - 4:00 |
Q&A | 4:00 - 4:30 |
Day 2
Topic | Time |
---|---|
Breakfast / Social time | 8:00 - 9:00 |
Review | 9:00 - 9:30 |
Iteration with loops | 9:30 - 10:30 |
Break | 10:30 - 10:45 |
Iteration with functional programming | 10:45 - 12:00 |
Lunch | 12:00 - 1:00 |
Writing functions | 1:00 - 2:30 |
Break | 2:30 - 2:45 |
Case study | 2:45 - 4:00 |
Q&A | 4:00 - 4:30 |
To prepare for this course please complete the following prior to the day of class:
-
Download the class material here. This will provide you with the data and scripts to follow along during class. Be sure to unzip the file otherwise you will have run issues.
-
All slides are available via the hyperlinks in the schedule above so that you can follow along.
-
Please have the following versions of R and RStudio installed. If you have an earlier version of R that is at least version 3.4.5 or later you should be ok but its best to be as current as possible.
- R: 3.5.2 [download latest version]
- RStudio: 1.1.463 [download latest version]
-
Run the
00-run-this-script-first.R
script to make sure you have all the required packages for this course. If you run into any problems just let me know. -
This course makes some assumptions about your prior knowledge. To ensure your success, be sure that you have reviewed and are comfortable with the material covered in the Intro to R course.
If you have any specific questions prior to the class you can reach out to me (Brad Boehmke) directly at bradleyboehmke@gmail.com.
This work is licensed under a Creative Commons Attribution 4.0 International License.