Homework 2 is posted on the schedule page. It is due Sep 23 in class.

When submitting your homework, follow the following rules:

  • submit hardcopy: paper + code + output. Use of R Markdown or Sweave is highly encouraged
  • email code (only) to me hua_zhou@ncsu.edu with subject ST758 HW2 and file name LastFirstHW2.r
  • use of R Studio is highly recommended
  • code should have clear and plenty of comments and rm(list=ls()) at top and bottom
  • your code should never exceed 80 characters in width
  • follow a good coding style; read Google’s R style guide