Universiteit Leiden

nl en

R introduction

This is an introduction course to data analysis in R.

Target group
Postdoctoral researcher
PhD candidate
Sjoerd Huisman  (Coordinator/Assistant professor) Gabriel Castellar Barroso  (Lecturer)
Training course
11 per day (33 in total)

Deadline registration is Monday 17 June 2024.

The focus of this course is on teaching R, not statistical theory. So the analyses are limited to first-year BSc materials. Participants can attend any 1, 2, or 3 days if they have sufficient knowledge to do so.


Day 1
  • Basic commands and data types in R
  • Using existing functions and external packages
  • Loading data files
  • Making selections and calculating summary statistics
  • Using scripts and projects
Day 2*
  • More data manipulation in R
  • Making plots for various variable types
  • Performing uni- and bivariate statistical tests and viewing their output (chi-squared, correlation, and t-tests)
Day 3**
  • Writing functions and applying them
  • More plotting
  • Performing multivariate statistical tests and viewing their output (linear regression, ANOVA)

(required knowledge: topics of day 1)

** (required knowledge: topics of day 1 and 2)

Please, bring your own laptop, with a working installation of R and Rstudio (see starting-up instructions).

Mode of instruction

There will be a document with starting-up instructions about installing R and Rstudio. Participants are required to bring their own laptops with this software installed in Windows/macOS/Linux.

The course consists of a mix of lectures, demonstrations and doing exercises.

Please read and complete the starting-up instructions. Materials are shared on Brightspace.

Entry requirements

The course requires: computer skills related to installing software and saving and organising files in folders (File Explorer/Finder); and statistical knowledge as taught in the first year BSc Psychology.


Target group

One day

Two days

Three days

PhD candidates FSW/FGGA




Staff FSW




Other Leiden University PhD candidates








*Externals are PhD candidates related to staff members of FSW (buitenpromovendi) and/or staff members of other Leiden University Faculties.

This website uses cookies.  More information.