5 Matching Annotations
  1. May 2020
    1. mean(on_time)

      If we were to calculate the proportion of flights not delayed or cancelled, we would need to adjust for NA values of the cancelled flights:

      summarise(n = n(), on_time = sum(on_time, na.rm=TRUE) / n)

  2. Apr 2020