groups {dplyr} | R Documentation |
These functions do not perform non-standard evaluation, and so are useful
when programming against tbl
objects. ungroup
is a convenient
inline way of removing existing grouping.
groups(x) ungroup(x, ...)
x |
data |
... |
Additional arguments that maybe used by methods. |
grouped <- group_by(mtcars, cyl) groups(grouped) groups(ungroup(grouped))