Get started with R – Programming Basics, Data Analysis and Visualisation

Third-cycle level | 3.0 credits (HEC) | Course code: H7F5300
VT 2026
Study period: 2026-02-02 - 2026-02-13
LANGUAGE OF INSTRUCTION: The course is given in English
Application period: 2025-10-15 - 2025-11-05
+

Course description

The course is practical and aims at teaching students how to:

  • Use the programming environment R and RStudio, which includes installation, how to handle errors, problem solve and access helper documents.
  • Use basic concepts of programming, such as data types, logical and arithmetic operators, if else conditions, loops and functions.
  • Use common R packages to perform basic statistical analysis (e.g., t-test, chi2-test, correlation) and visual presentation (e.g., boxplot, histogram and heat-map) of data in R.

The course is structured with the intent to gradually make students more autonomous in writing code. Starting by introducing a concept through a lecture, then providing formative quizzes and tasks relateed to the concept. This all leads up to a project (exam) where the student gets to combine multiple concepts into a project with the intent of solving a certain problem or displaying specific statistical tests of visual components. 

Prerequisites and Selection

Prerequisite courses, or equivalent

No prerequisite courses, or equivalent, demanded for this course. 

Selection

Selection will be based on:  
1) the relevance of the course syllabus for the applicant’s individual study plan/research (according to written motivation). 
2) start date of doctoral studies (priority given to earlier start date). 

 

Course director

Billy Langlet

Course syllabus

H7F5300

Department

Department of Medicine, Huddinge

Doctoral programme

**Not within a doctoral programme

Type of course

Statistics Software

Keywords

programming, R, RStudio, RMarkdown, basic, programmering

CONTACTBilly Langlet

billy.langlet@ki.se