Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ggplot2 has added an after_stat #3396

Open
bkamins opened this issue Oct 23, 2023 · 0 comments
Open

ggplot2 has added an after_stat #3396

bkamins opened this issue Oct 23, 2023 · 0 comments
Labels
Milestone

Comments

@bkamins
Copy link
Member

bkamins commented Oct 23, 2023

          FWIW, I just discovered that ggplot2 has added an [`after_stat`](https://ggplot2.tidyverse.org/reference/aes_eval.html) function wrapper which is similar to `Postprocess` we discussed above. To compute proportions of counts in each group one does `after_stat(prop)` (previously this was special-cased as `..prop..`).

Originally posted by @nalimilan in #2556 (comment)

@bkamins bkamins added this to the 1.x milestone Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant