# R Coding for Data Science - 2020/21

*2021-05-09*

# 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

**R for Data Science**: https://r4ds.had.co.nz/**Practical R for Mass Communication and Journalism**: https://www.machlis.com/R4Journalists/

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.

`## [1] "Hello PSBF World!"`

These notes are written in RStudio by using `bookdown`

(https://bookdown.org/). For errors, typos, suggestions, … write to michela.cameletti@unibg.it.