Getting Started with R

Getting Started with R

We offer a large number of different individual modules that can be flexibly combined. We will be happy to support you in putting together your individual training.

The following modules are for those with little or no experience with R, or for those who want to refresh or solidify their foundational skills.

Module 1.1 Introduction to R

Prerequisites: None

This module answers the question: what exactly is R? It gives hints about installation, outlines the operating concept, and introduces the popular GUI RStudio. The main focuses of the module are object types, subsetting, missing values, and operators.

Duration: approx. 3 hours

Module 1.2 Data Import and Export from Files

Prerequisites: Introduction to R (module 1.1 or equivalent skills)

This module gives an overview of ways to import csv files, xlsx files, and files from common statistical packages (e.g., SPSS, SAS or Stata). We also cover ways to export data out of R.

Duration: approx. 1 hour

Module 1.3 Data Handling with tidyr and dplyr

Prerequisites: Introduction to R (module 1.1 or equivalent skills)

It is rare that data are already in the format that you need them. With tidyr you can rearrange data (for example, from wide to long format), combine multiple datasets, or split a variable into several variables. dplyr offers elegant ways to select rows and columns, derive new variables, and summarize data by groups.

Duration: approx. 2 hours

Module 1.4 Descriptive Statistics

Prerequisites: Introduction to R (module 1.1 or equivalent skills)

This module discusses the basic commands necessary to generate key figures for variables. We talk about basics such as the mean, median, and standard deviation, but also about more complex measures of association (like contingency tables and correlation coefficients, just to name a few).

Duration: approx. 1 hour

Module 1.5 R and Databases

Prerequisites: Introduction to R (module 1.1 or equivalent skills)

With the package RSQLite, you can use databases directly from within R. This module not only covers database access to load or write data, but also parameterized queries that allow you to build dynamic queries and avoid the risk of SQL injections.

Duration: approx. 1 hour