powered by
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.
tbl
ungroup
groups(x)ungroup(x, ...)
ungroup(x, ...)
data tbl
Additional arguments that maybe used by methods.
grouped <- group_by(mtcars, cyl) groups(grouped) groups(ungroup(grouped))
Run the code above in your browser using DataLab