Skip to content

Documentation clarifying stat_density/after_stat n #4832

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

Merged
merged 1 commit into from
May 11, 2022

Conversation

thoolihan
Copy link
Contributor

Fixes #4476 by clarifying that n is a computed value of stat_density() that can is not available as original mapping in after_stat. Also wording better specifies that after_stat masks original mapping, but not variables in parent scope(s).

…t_density() that can is not available as original mapping in after_stat.
@thoolihan
Copy link
Contributor Author

Could use a second pair of eyes. In particular, the documentation may now be redunant in R/aes-evaluation.r, but I'd like a second opinion

@thoolihan thoolihan marked this pull request as ready for review May 7, 2022 03:33
@thomasp85 thomasp85 merged commit 061cec2 into tidyverse:main May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document computed variable n in stat_density().
2 participants