1. Course page is on line (Oct. 4)
  2. Bring your labtop (if you have one. No need to buy a new one) for the next class. Install R and R Studio before coming to the class. (OCt.6)
  3. Download city_sec1.csv and gpa_sec1.csv before coming to the class tomorrow. (Oct.10)
  4. Send me the R-exercises by Friday at 23:59 by e-mail. (Oct.11)
  5. R-exercise from Oct 18 class is aske to practice (a) pie chart, (b) frequency distribution table for numerical variables, (c) histogram, (d) scatter plot and (e) 5 number summary. Send by the end of Sunday. (Oct.19)


Lecture Notes

Week 1: Slide, Video1, Video2, Video3

Week 2: Slide_groupwork, Slide, data: stent, county

Week 3: city_sec1.csv; gpa_sec1.csv, Slide, R-code

Week 4: Slide, R-code


R Learning Tool:  Sign up for the free R course at

and self-teach the basic operations of R. You will be more comfortable with R program.


Group Assignment


Practice Questions

Chapter 1: Questions, Answers

Chapter 2: Questions, Answers

Chapter 3: Questions, Answers

Chapter 4: Questions - part 1, part 2, Answers-part1, part2

Chapter 5: Questions - part1, part2, Answers - part1, part2

R Homework

R related

*Download R program from

step1: set CRAN (anywhere is fine, just pick one)

step2: select R according to your PC

You can also download a package named "Rcmdr"

step1: set CRAN if you haven't done so

step2: select "Rcmdr" from the list of packages

step3: once downloaded, click "load packages" from Packages tab, then you should see the Rcmdr window pops up.


References for R

Quick R

Introduction to R Programming Course at Edx (It's FREE!)


Practice Questions