Archives
Thursday, 27 May, 2010 (20100527)
This week we are going to start working with your thesis data. There are
two scripts, one to export files from SAS in a variety of formats and the usual
R code we will examine for the week. We are going to start with how R
"sees" and stores data.
Files
Here are the
Slides
and the
R script
and
SAS script
for this session.
Plots
of the distributions (made in R script also)
Outline
Go through slides
Export data from SAS and Import into R
Simple conversion of data
Examining the data
Data summary
Graphically with ggplot2 (and a loop)
Learning Objectives
Understand data types and structures in R
Continued learning of ggplot2 grammar
Basic grasp of the concept of loops