Skip to content

Commit 9cbf5ec

Browse files
add missing line
1 parent f6e0ec2 commit 9cbf5ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

exercises/03-ci-with-group-by-and-summarise-exercises.qmd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ sim2 |>
7777
names_prefix = "x_") |>
7878
summarise(estimate = x_1 - x_0, .groups = "drop") |>
7979
summarise(estimate = mean(estimate))
80-
8180
```
8281

8382
## Your Turn 3
@@ -108,8 +107,8 @@ sim3 |>
108107
values_from = avg_y,
109108
names_prefix = "x_"
110109
) |>
111-
summarise(estimate = x_1 - x_0)
112-
110+
summarise(estimate = x_1 - x_0) |>
111+
summarise(estimate = mean(estimate))
113112
```
114113

115114
# Take aways

0 commit comments

Comments
 (0)