-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.qmd
107 lines (80 loc) · 4.83 KB
/
index.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
editor:
markdown:
wrap: sentence
---
# Hello and welcome! {#welcome .unnumbered}
... to the latest iteration of my introductory R course, where we will learn to analyse data in style.
::: {.alert .alert-secondary}
**Current course dates**\
WS23/24\
2023-10-17 -- 2023-12-12\
See [structure of the course](#structure)\
Lecture online in your own time\
Seminar weekly on Tuesday, 13:00 -- 15:00\
In Seminar room 11 (SR 11, 5.OG), Mathematikon (INF 205)\
Sign-up (Heidelberg University students): see [discord](#discord)\
Language: Lectures are in English but the seminar can be in German if you choose so (in any case, you can always ask questions in German as well).
:::
{{< youtube GguzPRquTLI >}}
In this course, we will handle different kinds of data, create pretty and insightful visualizations, compute different statistics on our data and also explore what these statistical concepts mean.
From penguins to p-values, I got you covered.
```{r cover-plot}
#| echo: FALSE
#| fig-cap: One of the plots we will be creating in the first lecture.
library(tidyverse)
library(palmerpenguins)
penguins |>
drop_na() |>
ggplot(aes(flipper_length_mm, bill_length_mm,
color = species,
shape = sex)) +
geom_point(size = 2.5) +
geom_smooth(aes(group = species), method = "lm", se = FALSE,
show.legend = FALSE) +
labs(x = "Flipper length [mm]",
y = "Bill length [mm]",
title = "Penguins!",
subtitle = "The 3 penguin species can be differentiated by their flipper- and bill-lengths.",
caption = "Datasource:\nHorst AM, Hill AP, Gorman KB (2020). palmerpenguins:\nPalmer Archipelago (Antarctica) penguin data.\nR package version 0.1.0. https://allisonhorst.github.io/palmerpenguins/",
color = "Species",
shape = "Sex") +
theme_minimal() +
scale_color_brewer(type = "qual") +
theme(plot.caption = element_text(hjust = 0))
```
## Prerequisits
No prior knowledge necessary.
Software to install:
- [R](https://cloud.r-project.org/)
- [Rstudio](https://www.rstudio.com/products/rstudio/download/#download)
- _windows only_: [Rtools](https://cran.r-project.org/bin/windows/Rtools/)
## Structure of the course {#structure}
Most participants will be biochemistry bachelor (and master) students, but the material is open to anyone!
- There are 8 lectures in total, each accompanied by:
- A video of the lecture at the top of each page
- The lecture script, which consists of the code written during the lecture (plus some more code to generate illustrative graphics) and explanations
- [Exercises](#exe) to complete and send in
- A [seminar] to discuss the exercises
- A [discord](#discord) server to ask questions and share solutions
In addition to the 8 regular lectures + follow up seminars, there is an introductory seminar in the first week, before the first lecture.
- October 17 (Tuesday, 13:00): First seminar
- October 24: Seminar for the first lecture
- December 12: Seminar for the last lecture
The first seminar is dedicated to helping you get your laptops set up for the course, show the course structure and explain core concepts.
I do recommend to watch the lecture in your own time, and then use the lecture script afterwards to look up concepts and code you want to revisit.
Code chunks also have a copy-button, which is helpful for quickly playing around with it, but make sure you actually walk through the lecture and do the typing first, because muscle memory will server you well in the future.
### Exercises {#exe}
To complete the course, hand in at least 6 out of 8 exercises.
The important part here is not that each exercise is a perfect solution, but if you encounter questions and struggles during your attempt of the exercise, make sure to include those pain points as well so that we can cover those in the [Seminar].
Please hand in your solutions **before** the seminar via a direct message on [discord](#discord).
The earlier in the week you submit your solutions, the more time I have to prepare answers for the seminar.
### Seminar
Each week, we will meet to discuss the exercises and answer any questions that might have have popped up.
We will meet in:
> Seminar room 11 (SR 11, 5.OG), Mathematikon (INF 205)
Please bring your own laptop, so that you can code along and know that you will be able to apply what you learned after the course as well.
### Discord and signup {#discord}
If you are a biochemistry student at Heidelberg University, click on this link: <https://discord.gg/BdfBxEDN5x> to join our discord server.
To sign up for the course, send a message to me (Jannik) with your **full name** and **matriculation number** so that we can put the course onto your official transcript of records.
On the server, you will be able to ask questions that can be answered by me and your fellow learners, hand in the exercises and receive feedback.