I'm using the nycflights dataset from the nycflights123 library. I noticed something strange. When I tried to arrange these to find the worst on-time record of flights by tail number:
#Which plane has the worst on-time record?
worst_delay %>%
group_by(tailnum) %>%
select(tailnum,arr_delay,dep_delay) %>%
mutate(sum_delay=sum(arr_delay,dep_delay)) %>%
arrange(desc(sum_delay))
View(worst_delay)
I got the following:
However when I run the same command and use View(worst_delay), I get this:
Is there something I'm missing?