Summer Institute in Statistical Genetics, and Statistics and Modeling of Infectious Diseases
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Module 3: Introduction to R
Instructors: Ken Rice and Tim Thornton
This page will feature slides from our sessions, recordings of the various sessions, exercises for you to complete, and their solutions (all to follow). Prior to the module, please install up-to-date versions of R and RStudio on the laptop you will use during the summer institute. Both are free.
Slides and exercises
Script files are posted following each session; these will contain our R code for the exercises. To make them work on your computer, remember to modify file names and locations appropriately. Also note that many different 'correct' solutions are possible. All times/dates are Pacfic, i.e. Seattle time. The module has 10 sessions, each of 80 minutes. The standard format for a session is approximately:
Please join the module's Slack channel, where you can ask questions and see real-time updates from the instructors and TAs.
Some special material for Session 10:
For easier searching, here are all the slides in one document (PDF). Datasets - in alphabetical order
Before trying to read data into your R session, we recommend looking at it first, in a text editor. Is the data comma- or tab-delimited? Does it have a 'header' row containing variable names? Other resources
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Send mail to: see Ken or Tim in class
Last modified: 7/5/2018 |