-
Notifications
You must be signed in to change notification settings - Fork 182
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
"ratio" argument in ggpiestats/ggbarstats seems dysfunctional #818
Comments
bodhisat
changed the title
"ratio" argument in ggpiestats/ggbarstats seems x
"ratio" argument in ggpiestats/ggbarstats seems dysfunctional
Nov 28, 2022
I am adding my comment to this post cause I have found the same thing. The parameter
If I run the two lines of code, the results won't change. Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I specify the "ratio" argument in "ggbarstats()" or "ggpiestats()", the test results seem wrong. However, manual application of the "contingency_table()" function from the "statsExpressions" package to a grouped tibble seems to give the right output.
I inspected the definition of "ggbarstats()" and I fail to understand why the results differ; see the example below.
Created on 2022-11-28 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: