An introduction to R, WS 2019/2020

Lecture with Exercises: (3 ECTS, 2 SWS)

Title: An introduction to R

Instructors: Dr. Noémie Becker, Dr. Eliza Argyridou, Prof. Dirk Metzler

Contents: R is a widely used tool for analysing data in biology. Therefore it is important to learn it. R is a free statistics software and can be downloaded from In the lecture students learn the necessary theoretical background for using R. They will become familiar with the basic data structures and control flows of the R programming language. In the tutorial, the students become familiar with R, by first trying simple commands and then learning to perform basic data analyses and to write simple program scripts.

Important information: Status on July 14th 2020 (update):

The recap exam will take place online via EvaExam on Tuesday 04/08 at 2 pm. Registration is closed. If you have not received this information per email so far, contact me as soon as possible.

The exam will take place online via EvaExam and Zoom on Monday 29/06 at 10 am. If you have not received this information per email so far, contact me as soon as possible.
A mandatory fake exam (for testing the system) will take place on Thursday 25/06 at 10 am.
You will receive an email by June 20 explaining how to register for the exam and you will also receive further emails with connexion information.
All content that has been posted online and discussed during the course will be relevant for the exam.
Please feel free to ask any question regarding the exam by email to

Questions from students and answers:
Question 1: Topic: Sheet 8, Exercise 3. Question 1
Question 2: Topic: Sheet 8, Exercise 1. Question 2
Question 3: Topic: na.rm, function rm.NA, Sheet 8 Exercise 2. Question 3
Question 4: Topic: Sheet 8 Exercise 2. Question 4
Question 5: Topic: Sheet 9 Exercise 1. Question 5
Question 6: Topic: usage of functions, rm.NA(). Question 6
Question 7: Topic: Lecture 7, Slide 9. Question 7
Question 8: Topic: Sheet 6, Exercise 5. Question 8
Question 9: Topic: Sheet 8 Exercise 2. Question 9
Question 10: Topic: Sheet 8 Exercise 1. Question 10
Question 11: Topic: Sheet 9 Exercise 3. Question 11

Time: March 2, 2020 till March 12, 2020
Room: G 00.001
Time: 9:00-12:00
The afternoons are for preparing the exercises. We reserved the rooms C00.005, G00.037 and D00.009.

The final exam will be rescheduled as soon as we can start teaching again

The make-up exam will be rescheduled

To take the make-up exam you need to register by e-mail to Noémie Becker before Date to be announced.

For both exams, you will have 90 minutes to answer the questions. Participants can bring their personal assortment of formulas or notes on an A4 sheet. This A4 can have any contents on both sides BUT ONLY IN YOUR OWN HANDWRITING! (no copy, not print-out, not another person's handwriting)


The course syllabus can be downloaded here: Syllabus

Handouts will be posted right after the lectures.

Note that the handouts may contain only a summary of the contents of the slides shown in the lecture. More detailed explanations are given on the whiteboard and with practical demonstrations during the lectures. The questions in the exam refer to the whole content of the course including lectures and exercises.




Requirements: Basic understanding of statistics will be helpful.

Language English

LSF-Link An introduction to R (Lecture with exercises) (English)

Questions Please send any questions to

web page last updated: Noémie Becker, February 17, 2020

~ ~ ~