File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 3030 result. This typically requires either the usage of ` .groups ` to silence the
3131 message or an explicit ` ungroup() ` afterwards.
3232
33+ Additionally, using ` summarise() ` or ` slice() ` with ` .by ` will never sort the
34+ results by the group key, unlike with ` group_by() ` . Instead, the results are
35+ returned using the existing ordering of the groups from the original data. We
36+ feel this is more predictable, better maintains any ordering you might have
37+ already applied with a previous call to ` arrange() ` , and provides a way to
38+ maintain the current ordering without having to resort to factors.
39+
3340 This exciting feature was inspired by
3441 [ data.table] ( https://CRAN.R-project.org/package=data.table ) , where the
3542 equivalent syntax looks like:
You can’t perform that action at this time.
0 commit comments