R BootCamp - Washington University in St. Louis

Download Report

Transcript R BootCamp - Washington University in St. Louis

R BootCamp
07/11/2013
Jingqin Luo
Course Overview
 Modules
 Module 1 (07/11, Thur, 9:00~12:00; 1:30~5:00): R
basics, Rosy Luo
 Module 2 (07/12, Fri, 9:00~12:00; 1:30~5:00):
statistical modeling in R, YunJu Sung
 Module 3 (07/15, Monday 1:30~5:00): R graphics
and advanced topics, Jeff Gill
 R primer website:
http://artsci.wustl.edu/~jgill/biostat.R.primer.html
Window
R
Assignments
 Lectures and assignments
 Integrated lectures and lab
 Two class datasets will be used all through modules
 After-class assignment daily (done before 5:00)
 Data analysis project (weekend 07/13~07/14):
A messy dataset will be provided to the class
Read in the dataset
Data cleaning and recoding
Data exploration (summary stat) and graphics (scatter plot,
boxplot, histogram etc)
 Statistical tests




 Due dates:
 Daily assignment should be handed in before the end of class or
the next day before class.
 Data analysis project should be handed in by the end of the 3rd day.
Grading
 All assignments will be graded
 Grading:
 Daily lab assignment from each module: 20% each
 Data analysis project: 40%
 Late
Module 1 outline
 About R
 Downloading and Installing R
 Start R
 Setting up help
 Basic syntax (comments in R)
 Data types, data structures and data type conversion
 Basic mathematical operators in R
 Data manipulation & management (subsetting, sort, order,
recoding, reshaping etc)
 Quitting R and saving R object