1. Course page is on line (Oct. 3)
  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 two files (city_sec2.csv; gpa_sec2.csv) to your labtop before coming to the class tomorrow (Oct.9)
  4. Homework Tasks (Pie chart, frequency distribution table using numerical variables, histogram, scatter plot and summary data) Send by Sunday. (Oct.17)


Lecture Notes

Week 1: Slide, Video1, Video2, Video3

Week 2: Slide1(group work), stent_data, Slide2

Week 3: Data for In-class Exercises: city_sec2.csv; gpa_sec2.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