This course is an introduction to R for the complete beginner. My goal is for students to leave the course feeling comfortable enough with R to be able to find solutions for their particular analysis needs.

### Installation

If you don't already have R installed somewhere, please follow these instructions to do so.

### Week 1 (10 September): A first session in R

Handout: in-class calculator worksheet with homework exercises at end.

Owen homework exercises script [posted after you have turned in your homework]

### Week 2 (24 September): RStudio, Project organization and Getting Data into R

Handout for this week--detailed run-down of lecture content with links to all other content for in-class exercises and with the homework assignment. From this handout, you can download everything else you need.

### Week 3 (1 October): Importing Data, Objects in R and descriptive statistics

Handout for this week--lecture content with homework assignment. From this handout, you can download everything else you need.

### Week 4 (8 October): Packages and subsetting data

Handout for this week--lecture content with homework assignment. From this handout, you can download everything else you need.

### Week 5 (15 October): Basic plotting

Basic Plotting handout with homework assignment. From this handout, you can download everything else you need.

### Week 6 (5 November): Loops and functions

I'll introduce loops and functions with an exercise using some fake data: download the data, then you can follow along. After this introduction, you'll do the BGR chapter 6 on your own (see downloads below) and keep track of questions/issues which we'll go over next week.

BGR Chapter 6: Loops and Functions text

### R resources

Quick R: Lots of nice information, particularly for users of SAS, SPSS, and Stata. Example-driven approach.

Cookbook for R (formerly R Cookbook): Just as the name suggests, this has contributed "recipes" for analysis. Useful, but you have to do some digging.

R for Matlab users: Nice table of R commands side-by-side with Matlab commands (for those of you coming from a Matlab background).

Google "R cran < topic >"