In ggplot2, is it good practice to ungroup the data before plotting?

In ggplo2, is it good practice to ungroup the data before plotting?

I think I came across this a while ago, but not sure if it is still valid

I would say it is.

In fact I'd always ungroup unless you are sure you want to retain the grouping because not doing so can cause unintended consequences.

Looks like based on a comment by one of the maintainers that ggplot2 is not aware of group_by??

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.