Skip to content

Ordering result of group_by #242

@hadley

Description

@hadley

It would be nice to have an option to order the result of group_by so that (e.g.)

mtcars %.% group_by(cyl) %.% summarise(mpg = mean(mpg))

is ordered by increasing cyl. I think this should be the default for relatively small numbers of groups.

It doesn't make any difference to an analysis, but I find it surprisingly distracting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions