Basic R
In this workshop you will get an introduction to R and RStudio and learn the basic statistical methods and how to use them in R.
Here in the beginning you find the slides, the R script from my examples, the example data sets and the exercises for download.
Bevor you start, you need to download and install R and RStudio (both for free):
Handouts and R scripts
Here you can download the slides as PDF and the R scripts (zip file) with my examples:
Part I:
Part II:
Part III:
Exercises and data sets
Here you can download the data sets (with an PDF “Explanation of the example data”) and the exercises:

Daniela Keller
Trainer
Daniela Keller is a statistical consultant and expert in data analysis. She helps you to understand statistics and to learn to conduct your analysis yourself without losing your nerve.
Part I
1: Welcome, content and structure
Introduction to R and RStudio
2: R and RStudio Basics
3: Writing your own functions
4: Working directory, script files, help, packages
5: Vectors, factors, indexing
6: Data frames
7: Loops, conditions, which and apply
8: Export results and data
Introduction to Statistics: Descriptive analyses and graphics
9: Study design
10: Data types, paired and unpaired
11: Overview of descriptive and exploratory data analysis
12: Descriptive statistics for one nominal variable
13: Editing and saving graphics
14: Descriptive statistics for two nominal variables
15: Descriptive statistics for one continuous variable
16: Descriptive statistics for one continuous and one categorical variable
17: Graphic for two continuous variables
Part II
18: Normal distribution
19: The idea of statistical testing
20: Testing dependencies between two variables
21: Testing differences (one or two groups / measurements)
22: Long and wide format
23: Testing differences (more than two groups / measurements)
24: Multiple testing and post hoc tests
25: Effect size measures for differences
Exercises
Here you can download the exercises for part II:
Part III
26: Factorial ANOVA
27: ANCOVA
28: Linear Regression
29: Logistic Regression
Exercises
Here you can download the exercises for part III:
Additional tutorials
1: Transformations
In this video I show you some examples of data transformations (the aim is to get normal distributed data) in R.
