Lund University

Denna sida på svenska This page in English

Basic Data Handling and Visualization with R


HT2022, 1.5 ECTS


The purpose of the course is to provide basic knowledge of the programming language R to facilitate independent future use of applications written and / or implemented in this language, such as statistical analysis programs.

This course introduces students to the basic terms and concepts used within programming. The focus is on the handling of data with R, e.g., importing it into RStudio, summarising, cross-referencing, merging, creating new data. Different forms of relevant and graphically appealing visualisations will also be covered, as well as exporting the data and diagrams created in different formats. Packages in the tidyverse software collection are used.

Learning outcomes

On completion of the course, the student shall be able to:
 • perform basic data operations using R
 • identify potential pitfalls when handling data with R
 • create basic and visually appealing diagrams using R
 • identify online resources to independently answer questions and troubleshoot when programming in R


Access to a laptop computer is required.

Additional information

This course is part of the Faculty of Medicine PhD courses. However, participants from other fields will also be able to benefit.


A pre-course assignment involves installing RStudio and studying basic programming concepts and terminology, with the help of provided course literature. The course consists of four compulsory full days. Teaching methods include lectures, programming demonstrations and individual exercises. On the final day of the course, students work on the examination, with teachers available. On-site participation is not compulsory during the final day of the course. Students who are unable to participate in the compulsory classes can work on the specified exercises on their own and contact the teachers according to their scheduled availability.


The examination consists of solving assignments using programming in R. The programming scripts that are used to answer the questions are then sent to the teachers for evaluation.

Required reading

Literature on programming concepts distributed before the start of the course.


 The course equals one week (1.5 ECTS credits). Five days are scheduled, as well as self-studies.


BMC, Sölvegatan 19, room I1341


Preliminary week 39 (26-30 September)
Monday-Thursday 9-16. For the last day, attendance on-site is not compulsory.

Course coordinator

Karin Engström


To register, please fill in the course registration form.

Registration deadline Sept 1st 2022.

This course is the same as the one listed among the Faculty of Medicine PhD courses. If you have registered via the Faculty of Medicine already, you do not register again.

Page Manager: