Workshop Schedule

Day 1

Time Topic Instructor
10:00 - 10:30 Workshop Introduction Radhika
10:30 - 11:15 Introduction to R and RStudio Meeta
11:15 - 11:30 Overview of self-learning materials and homework submission Jihe

Self-Learning Part 1

  1. R Syntax and Data Structure
  2. Functions and Arguments
  3. Reading in and inspecting data

Assignment #1


Day 2

Time Topic Instructor
10:00 - 10:50 Questions about self-learning & cheatsheet creation Radhika
10:50 - 11:15 In-class exercises + Answer key Jihe
11:15 - 12:00 Data Wrangling: Subsetting Vectors and Factors Radhika

Self-Learning Part 2

  1. Packages and libraries
  2. Data wrangling: data frames, matrices and lists
  3. The %in% operator
  4. Reordering and matching
  5. Setting up a data frame to plot (+ the map() function)

Assignment #2


Day 3

Time Topic Instructor
10:00 - 10:35 Questions about self-learning lessons Jihe
10:35 - 11:15 In-class exercises + Answer key Meeta
11:15 - 12:00 Plotting with the ggplot2 package Radhika

Self-Learning Part 3

  1. Using custom functions for consistent plots
  2. Generating a boxplot with ggplot2
  3. Writing to file and exporting plots
  4. Finding help
  5. Tidyverse

Assignment #3


Day 4

Time Topic Instructor
10:00 - 10:35 Questions about self-learning lessons Meeta
10:35 - 11:15 In-class exercises / Rscript + Answer key Jihe
11:15 - 11:45 Discussion, Q & A All
11:45 - 12:00 Wrap Up Radhika

Final Exercises

Building on the basic R knowledge

Resources

Cheatsheets