1 Welcome! :)

You are reading the lecture notes of the R lectures for the Coding for Data Science (C4DS) course at University of Bergamo (academic year 2020/21). R is a great programming language especially designed for statistical analysis and data visualisation.

The C4DS R lectures are designed for students who already have a programming background thanks to the first part of the C4DS course dedicated to Python. In the 5 lectures dedicated to R I will present you the basics of R for data manipulation, analysis and plotting.

Enjoy the journey!

1.1 Bibliography for the course


In the following lecture notes, this font (with grey background) represents R code. The following is an example of R code with the corresponding output.

print("Hello PSBF World!")
## [1] "Hello PSBF World!"

These notes are written in RStudio by using bookdown (https://bookdown.org/). For errors, typos, suggestions, … write to .