Michael Lachmann
   
 
   
   
  Research Areas
 
   
  Publications
 Google scholar
   
 
  Teaching
 
 

R course 2004 - Michael Lachmann

R is a programming language good for statistics, similar to S-plus.

The planned timetable:

Week 1: R basics
Week 2: Statistical tests and bootstrapping using R
Week 3: Bioconductor and database access



Lecture notes and exercises

Lecture 1
: Basics of R, TeXmacs, statistics, and bootstrapping.
notes: pdf  TeXmacs
exercise 1(right click to save as)
Solution: TeXmacs pdf
The exercise will ask you to read pages 1-8 from " simpleR - Using R for Introductory Statistics".

Lecture 2: Matrices
notes: pdf TeXmacs (right click to save as)
I asked you to read pages 11-29 from the book "Statistical Computing" by Michael J. Crawley.

Lecture 3: Programing
notes: pdf TeXmacs (right click to save as)
exercise 2, supplementary material: speeding.csv
Solution: TeXmacs pdf

Lecture 4: Statistical tests
notes: pdf TeXmacs (right click to save as)
I asked you to read pages 131-167 from "Statistical Computing". The following zip file contains the data that is used. You'll need to read it into R. data.zip

Lecture 5: Plotting and lines
notes: pdf TeXmacs (right click to save as)

Lecture 6: Linear models and analysis of variance
notes: pdf TeXmacs (right click to save as)
exercise3. You will need data files from data.zip, and strange.txt
Solution: TeXmacs

Lecture 7: Bootstrap
notes: pdf TeXmacs (right click to save as)

Lecture 8: Access to databases
notes: pdf TeXmacs (right click to save as)

Lecture 9: Bioconductor
notes: pdf TeXmacs (right click to save as)



R Documentation:

"simpleR - Using R for Introductory Statistics" by John Verzani
This is a very nice introduction to R. Pages 1-18 cover most of what we'll learn in the first class.

"R for Beginners" by Emmanuel Paradis
This is a good introduction to the internals of R, more from a programmers direction. I will go some into the internals of R, but if you want to learn more about how to multiply matrices, more about how to read files, etc., read this.

"Using R for Data Analysis and Graphics" by J. H. Maindonald
This document mainly talks about doing graphics in R. It has a nice introduction to the windows interface.

How to install xemacs and ess on windows (This document is taken from this site)

Graph gallery- a cool site that contains pictures of graphs produced by R. This can help you make just the right plot!

Function finder - a web page that groups functions in R by what they do.
(Sadly, gone. This one is in the Wayback machine)

R Data Import/Export - explains how to export data from R to files, and to different database formats. The DBI interface on page 14 is what ROracle also uses, so that section explains some of what we learned in class.

The ROracle Package - explains more about interfacing an oracle database from R. It is fairly technical and is a manual of the different functions rather than a tutorial.

Links:

Main R Project page
Texmacs - the interface that we'll use in the course
Bioconductor