diff --git a/logicals.qmd b/logicals.qmd index e7dcbb2..254b241 100644 --- a/logicals.qmd +++ b/logicals.qmd @@ -360,8 +360,8 @@ That, for example, allows us to see the proportion of flights that were delayed flights |> group_by(year, month, day) |> summarize( - all_delayed = mean(dep_delay <= 60, na.rm = TRUE), - any_long_delay = sum(arr_delay >= 300, na.rm = TRUE), + proportion_delayed = mean(dep_delay <= 60, na.rm = TRUE), + count_long_delay = sum(arr_delay >= 300, na.rm = TRUE), .groups = "drop" ) ```