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
`[.grouped_df` <- function(x, i, j, drop = FALSE) { out <- NextMethod() groups <- intersect(names(out), dplyr::group_vars(x)) if (length(groups)) { dplyr::grouped_df(out, groups) } else { dplyr::tbl_df(out) } }
Related to #4004
The text was updated successfully, but these errors were encountered:
Drop groups when subsetting
713c61e
Fixes #4708
1599df5
No branches or pull requests
hadley commentedJan 7, 2020
Related to #4004
The text was updated successfully, but these errors were encountered: