john.fresen@it.ox.ac.uk
) or mobile
(07502 368234) if you experience any difficulties, or have questions about either
statistics or R, before the start of the course, or even afterwards.
The layout of this document is as follows: the first nine pages are examples
that you should attempt to mimic. The last section is an assignment where you
should generate your own code based on the examples given in the first section.
I would appreciate your feedback to improve these exercises as well as the course
itself.
Font:
The preferred font used in R, and most computer software, is a constant
width font, such as Courier or Courier New. This is how they get tables to line
up. I suggest that when copying and pasting to and from R, use either of these
fonts. If one uses a proportional spacing font, the table columns won
‟
t line up.
The # is used to make comments. R will ignore what is written after the #
Downloading and starting R
Go to the R webpage