Last active
May 26, 2017 22:05
-
-
Save seankross/00485ef0cd30329cbeb1e28c35c4fca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(dplyr) | |
mtcars %>% | |
group_by(cyl) %>% | |
summarize(mean(disp)) | |
# # A tibble: 3 × 2 | |
# cyl `mean(disp)` | |
# <dbl> <dbl> | |
# 1 4 105.1364 | |
# 2 6 183.3143 | |
# 3 8 353.1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment