Introduction to R 2400-MIKRO-AIBF-IR
The course is delivered asynchronously through an online learning platform and is designed to prepare participants to use R during the SPINAKER summer school. It is suitable both for beginners and for participants who already have some experience with R but need to refresh or systematise their knowledge. The course begins with a placement test, which allows participants to assess their current level and determine how much preparatory work they should complete before the summer school.
The content is organised into 14 modules that gradually build participants’ knowledge and practical skills. The course starts with an introduction to R, RStudio and the broader programming environment, including the basic principles of how R works and how code is executed and organised. The following modules introduce the main data types and data structures used in R. Vectors, matrices and data frames are discussed step by step, allowing participants to understand how information is stored, accessed and transformed.
Further modules focus on importing data from different sources and on using R for basic statistical analysis and modelling. Participants learn how to perform common analytical operations and how to interpret the structure and results of simple statistical procedures. Two modules are devoted to creating graphics in base R, from basic plots to more advanced visual representations of data.
The course also introduces loops and functions as tools for organising code, reducing unnecessary repetition and making analytical workflows more efficient. R Markdown is presented as a framework for preparing clear, reproducible and well-structured analytical reports that combine code, results and explanations in a single document.
The final part of the course introduces the tidyverse, which is widely used as a standard framework for modern data processing and analysis in R. Participants learn the basic principles of transforming, organising and working with data using tidyverse tools. The course concludes with an introduction to clean code principles, with particular emphasis on readability, consistency, transparency and reproducibility as essential elements of high-quality analytical work.
Each module includes a recorded lecture, a slide presentation, an R script with examples and practical exercises, and tasks to be completed independently. After each module, participants complete a short graded quiz. The quizzes can be repeated, and the best result is recorded. After completing the learning modules, participants work on a final data-analysis case study that allows them to assess how confidently they can apply R to a complete analytical task.
The project ‘Application of Artificial Intelligence in Business and Finance’ (No. BPI/SPI/2024/1/00078) is implemented by the University of Warsaw as part of the Spinaker programme organised by the National Agency for Academic Exchange (within the project ‘Wsparcie tworzenia i realizacji międzynarodowych programów kształcenia’, funded by the European Funds for Social Development 2021–2027).
Course coordinators
Micro-credential certificate
Learning outcomes
Upon completing the course, the participant
in terms of knowledge:
• knows and understands the basic principles of programming in R;
• knows and understands the main data types and data structures available in R;
• understands how data can be imported, transformed, analysed and visualised in R;
• knows the basic principles of statistical analysis and modelling in R;
• understands the purpose of functions, loops and reproducible analytical documents;
• knows the basic principles of working with the tidyverse ecosystem;
• understands the importance of readable, structured and reproducible code.
in terms of skills:
• is able to use the R and RStudio environment to execute and organise code;
• is able to create and manipulate vectors, matrices and data frames;
• is able to import data from different sources and prepare it for analysis;
• is able to perform basic descriptive and statistical analyses;
• is able to fit and interpret basic statistical models;
• is able to create basic and more advanced data visualisations;
• is able to write simple loops and functions;
• is able to prepare a reproducible analytical document using R Markdown;
• is able to use selected tidyverse packages for data transformation and visualisation;
• is able to identify and correct basic errors in R code;
• is able to assess their own level of proficiency and identify areas requiring further practice.
in terms of social competences:
• is ready to work independently and take responsibility for completing the assigned learning activities;
• is ready to critically assess their own knowledge and programming skills;
• is ready to improve their competencies on the basis of feedback received from quizzes and practical exercises;
• is ready to apply principles of clear, transparent and reproducible analytical work;
• is ready to seek additional information and support when encountering programming problems.
Assessment criteria
Participants first complete a placement test. Depending on the result, they may be advised to complete selected modules or the full course.
Each module ends with a graded quiz worth up to 10 points. Quizzes may be repeated, and the best attempt is recorded. A score of at least 77% is recommended before proceeding to the next topic.
The course concludes with a final practical case study assessing the participant’s ability to analyse and visualise data in R.
Bibliography
Wickham, H., Çetinkaya-Rundel, M., Grolemund, G., R for Data Science.
Grolemund, G., Hands-On Programming with R.
Wickham, H., Advanced R.
Official R documentation and help files.
Course materials, instructional videos and R scripts made available through the online learning platform.