RBasic

Tzu L. Phang
September 2, 2015

Note to self: mousepose

We Got a TA :-)

  • His name is Junxiao (Jim) Hu
  • However, he can not start until next week
  • Need you to work together on this session; work in pairs??!!
    • help each other to navigate RStudio and R Codes

Download the dataset

From Dropbox

Today topics of discussion

  • Creat RStudio Project
  • R basic data structure: vector, matrix, list, Data Frame
  • Data wrangling: subset(), merge(), melt()
  • Citation

Practice Reproducible Research

Start getting familiar with RMarkDown file

Name your code chunk

Let's get started with the demo …

Homework Practice

Train your mascle memory by typing the code, not copy and paste