powered by
tbl
ungroup
groups(x)regroup(x, value)ungroup(x)
regroup(x, value)
ungroup(x)
group_by
grouped <- group_by(mtcars, cyl) groups(grouped) grouped <- regroup(grouped, list(quote(vs))) groups(grouped) groups(ungroup(grouped))
Run the code above in your browser using DataLab