Material overview

Author

📚 General references

The following textbooks offer a good general reference to the course content, and I think its a good idea to read into these books in a general way. Moreover, I often point to chapters in the respective session pages.

  • Wickham, H., Çetinkaya-Rundel, M., & Grolemund, G. (2023). R for data science: Import, tidy, transform, visualize, and model data (2nd edition). O’Reilly. https://r4ds.hadley.nz/

  • Ismay, C., & Kim, A. Y.-S. (2020). Statistical inference via data science: A ModernDive, into R and the tidyverse. CRC Press, Taylor and Francis Group. https://moderndive.com/index.html

For more advanced details on the fundamentals of programming in R, I recommend the following:

For the model-related parts of the lecture I recommend the following book as a further reading reference:

  • James, G., Witten, D., Hastie, T., & Tibshirani, R. (2021). An introduction to statistical learning: With applications in R (Second edition). Springer. https://www.statlearning.com/

🔖 Session-specific material

For information on how to use the exercise code, read this tutorial.

Session Topic Slides Exercise code
1 General introduction Slides
2 Basics of R and R-Studio Slides Basics, Functions
3 Basic objects Slides ObjectTypes1
4 Advanced objects Slides ObjectTypes2
5 Recap & practice
6 Visualization Slides Visualization1
7 Project management and data import Slides ProjectOrga
8 & 9 Data wrangling Slides Wrangling1, Wrangling2
10 Exploratory data analysis (recap) Slides
11 Quarto/R Markdown Slides Quarto
12 Recap & practice NA
13 Introduction to data analysis Slides
14 Sampling Slides Sampling
15 Simple linear Regression Slides LinearRegression1
16 Multiple linear Regression Slides LinearRegression2