We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flights_sml <- select(flights, year:day, ends_with("delay"), distance, air_time)
flights_sml <- select(flights, year:day, ends_with("delay"), distance, air_time) mutate(flights_sml, gain = dep_delay - arr_delay, speed = distance/air_time * 60)
year month day dep_delay arr_delay distance air_time gain speed
1 2013 1 1 2 11 1400 227 -9 370. 2 2013 1 1 4 20 1416 227 -16 374. 3 2013 1 1 2 33 1089 160 -31 408. 4 2013 1 1 -1 -18 1576 183 17 517. 5 2013 1 1 -6 -25 762 116 19 394. 6 2013 1 1 -4 12 719 150 -16 288. 7 2013 1 1 -5 19 1065 158 -24 404. 8 2013 1 1 -3 -14 229 53 11 259. 9 2013 1 1 -3 -8 944 140 5 405. 10 2013 1 1 -2 8 733 138 -10 319.
print(n = ...)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
flights_sml <- select(flights, year:day, ends_with("delay"), distance, air_time)
A tibble: 336,776 × 9
1 2013 1 1 2 11 1400 227 -9 370.
2 2013 1 1 4 20 1416 227 -16 374.
3 2013 1 1 2 33 1089 160 -31 408.
4 2013 1 1 -1 -18 1576 183 17 517.
5 2013 1 1 -6 -25 762 116 19 394.
6 2013 1 1 -4 12 719 150 -16 288.
7 2013 1 1 -5 19 1065 158 -24 404.
8 2013 1 1 -3 -14 229 53 11 259.
9 2013 1 1 -3 -8 944 140 5 405.
10 2013 1 1 -2 8 733 138 -10 319.
ℹ 336,766 more rows
ℹ Use
print(n = ...)
to see more rowsThe text was updated successfully, but these errors were encountered: