Chapter 1: WaRm Up

This chapter introduces the basic concepts of R syntax such as arithmetic operations, logical operations, object assignment, vectors and functions.

1Introduction

2R packages

3Exercise: Load your first package

4Coding basics

5Exercise: Use functions and their arguments

6Vector basics

7Exercise: Operations with vectors

8Data frames

9Exercise: Operations with data frames

10Conclusion

About this course

This tutorial uses contents and examples from the following free online books. They are perfect for beginners, feel free to check them out for further information: R for Data Science by Wickham and Grolemund (2017), A ModernDive into R and the tidyverse by Ismay and Kim (2019), Learning statistics with R by Navarro (2019), Introduction to Open Data Science by the Ocean Health Index Team (2019), Getting Used to R, RStudio, and R Markdown by Kennedy (2019) and Statistical Thinking for the 21st Century by Poldrack (2020).

About me

Ph.D in Social and Experimental Psychology from the University Grenoble-Alpes, France, my researches are focusing on understanding psycho-physiological responses ‘in the wild’. Now Assistant Professor of Business Research Methods at Dublin City University, my domain of expertise relies on multivariate time series analysis and trend extraction for supervised or unsupervised machine learning classification.