Make variable names consistent in data-transform.qmd (#1604)

This commit is contained in:
Max Ranieri 2023-11-30 01:05:30 -05:00 committed by GitHub
parent 85d220958f
commit bfa59fa474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -594,7 +594,7 @@ We'll come back to discuss missing values in detail in @sec-missing-values, but
flights |>
group_by(month) |>
summarize(
delay = mean(dep_delay, na.rm = TRUE)
avg_delay = mean(dep_delay, na.rm = TRUE)
)
```
@ -605,7 +605,7 @@ You'll learn various useful summaries in the upcoming chapters, but one very use
flights |>
group_by(month) |>
summarize(
delay = mean(dep_delay, na.rm = TRUE),
avg_delay = mean(dep_delay, na.rm = TRUE),
n = n()
)
```