From 2182ff6248b0aaf6fca2dad175ea57b440bd4938 Mon Sep 17 00:00:00 2001 From: a-rosenberg Date: Wed, 15 Jan 2020 11:28:51 -0700 Subject: [PATCH] name hour_perc should be hour_prop because proportion not percentage (#795) --- transform.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transform.Rmd b/transform.Rmd index acb2c8b..6ae1c6e 100644 --- a/transform.Rmd +++ b/transform.Rmd @@ -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? not_cancelled %>% group_by(year, month, day) %>% - summarise(hour_perc = mean(arr_delay > 60)) + summarise(hour_prop = mean(arr_delay > 60)) ``` ### Grouping by multiple variables