-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
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
Feature 1185 group #3490
Feature 1185 group #3490
Conversation
Will the second-to-last commit be gone if you rebase to master? |
I see that the commit is needed, but maybe you could squash these commits away? |
I can squash if you like, but this is not finished yet, see #3491 |
```r > df <- data_frame(v1 = c(NA, NA, 2, 2, 3), v2 = c(NA, NA, 3,3, 4)) %>% group_by(v1) > df %>% mutate( g = group_indices() ) # A tibble: 5 x 3 # Groups: v1 [3] v1 v2 g <dbl> <dbl> <int> 1 NA NA 3 2 NA NA 3 3 2. 3. 1 4 2. 3. 1 5 3. 4. 2 ```
…f -1 for ungrouped data.
test that group_indices actually warns when passed extra arguments.
eca5218
to
0925d38
Compare
Does this need more work? |
It’s good to go as far as i am concerned |
Thanks! |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
Closes #3341. Closes #1185.