R Course

This webpage was originally intended to go along with a class taught to faculty, postdocs, and graduate students at the Virginia Institute for Psychiatric and Behavioral Genetics (VIPBG) in 2007. Tim York, Eric Schmidt, and Matt Keller co-instructed the course. Here is a link to a full course I recently taught at CU Boulder, which contains more resources than below and which you can use to teach yourself statistical programming in R! I recommend using the material at the newer (CU) webpage if you’re really interested in learning R.

However, you don’t have to be at VIPBG or at CU to take advantage of the material at this and the external (CU) site. In the open-source spirit of R, if you happen by this page and are interested in learning the R computer language, feel free to download the powerpoints, scripts, and other helpful files. The scripts are written such that you should be able to learn the basics of the program on your own. All you need to do is download R here.

Why learn R? R is an open-source software programming language for data manipulation, simulation, statistics, and graphics. It has become the lingua franca among statisticians, and is increasingly being used for data analysis among researchers.

R Advantages:

o Fast and free.

o State of the art: Researchers provide their methods as R packages. SPSS, SPlus, SAS are years behind R!

o 2nd only to MATLAB for graphics.

o Mx, WinBugs, Bioconductor use the R language.

R Disadvantages:

o Not as user friendly as other programs

o State of the art: No one from up on high to tell you which methods are “safe” or “best.”

o No commercial support; figuring out things on your own can be frustrating.

o Easy to make mistakes and not know it.

_______________________________________________________________

First Class:

Intro to R Powerpoint
Class 1 Script with solutions
 

Second Class:

Intro to R Graphics Powerpoint
Class 2 Script
Saved Objects (RgraphExamples.RData)
 

Third Class:

Class 3 Script
Class 3 Data
 

Additional Helpful Files:

R Reference Card
R Syntax Examples
Type I and Type III Sums of Squares in R (discussion from CRAN)
 

Helpful R Links:

R Home Page (CRAN)
Great R Graphics & Stats Site 1
Great R Graphics Site 2
 

[Matthew C Keller's Home Page] [Biosketch] [Vita] [Publications] [Grad Students] [Program Code] [Courses] [R Course] [Evo Gen Course] [Links]