Home
Syllabus
Week 1
Installing R
Storing Work in R
Getting Help
Example R Session
Lab 1: Using the R Help Pages
Homework 1
Solutions
Week 2
Basic Data Management
Lab 2
Lab 2 Data
Homework 2
HW2example.dat
Solutions
Week 3
Sampling/For Loops/Recoding
If/Else Statements
Lab 3
Homework 3
Solutions
Extra Solutions
Week 4
Functions
If/Else Statements
Lec4fxns.R
Lab 4
R Code for Lab 4
Function Writing Tips
Homework 4
hw4prob3.dat
Solutions
Week 5
Fxns within Fxns
Apply Command
Writing Results
Lecture 5 R Fxns
Lab 5
Homework 5
hw5prob1.dat
Solutions
Week 6
Basic Plotting
Lab 6
Homework 6
hw6prob1.dat
hw6prob2.dat
Solutions
Week 7
Plotting 2
Lab 7
Homework 7
Solutions
Week 8
Linear Regression
Lab: Stepwise / Anova
Homework 8
hw8prob1.dat
hw8prob2.dat
hw8prob3.dat
Solutions
Week 9
Logistic Regression
Lab: Testing
energy.dat
intake.dat
caffmarital.dat
Homework 9
Solutions
Week 10
Practice Final/Review
Prac Final Code
Final
final.dat
Final Solutions
Resources
The R Project for Statistical Computing
- free statistics software
Chris Green's R Primer