name hour_perc should be hour_prop because proportion not percentage (#795)
This commit is contained in:
parent
ba3892e3fe
commit
2182ff6248
|
@ -773,7 +773,7 @@ Just using means, counts, and sum can get you a long way, but R provides many ot
|
||||||
# What proportion of flights are delayed by more than an hour?
|
# What proportion of flights are delayed by more than an hour?
|
||||||
not_cancelled %>%
|
not_cancelled %>%
|
||||||
group_by(year, month, day) %>%
|
group_by(year, month, day) %>%
|
||||||
summarise(hour_perc = mean(arr_delay > 60))
|
summarise(hour_prop = mean(arr_delay > 60))
|
||||||
```
|
```
|
||||||
|
|
||||||
### Grouping by multiple variables
|
### Grouping by multiple variables
|
||||||
|
|
Loading…
Reference in New Issue