We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e391d3 commit 328e376Copy full SHA for 328e376
1 file changed
25-WiSe/FAU/20260223_25.qmd
@@ -29,3 +29,26 @@ Either use the button "import dataset" or use the `read.csv` command.
29
penguins <- read.csv("~/Downloads/penguins.csv")
30
```
31
32
+
33
34
+# Simple model: `y ~ b`
35
36
+"Y as a function of of a binary input variable (two groups)".
37
38
+> Is the weight of a penguin a function of the sex of the animal?
39
40
+Add a code chunk by hitting the button or by typing "Ctr+Alt+I":
41
42
43
44
+```{r}
45
+lm(body_mass_g ~ sex, data = d)
46
+```
47
48
49
50
+library(tidyverse)
51
+d |>
52
+ count(sex)
53
54
0 commit comments