-
Notifications
You must be signed in to change notification settings - Fork 2.1k
geom_histogram with binwidth function: Example from tidyverse website not working #2312
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
Comments
I'm on ggplot2 v. 2.2.1 and your code is running fine. Just a little message after
|
You might need to use the devel version; I'm starting to work on the ggplot2 release now |
Thank you! That did indeed fix this issue! When I installed the development version and ran the code again, then things work great! Thank you for such cool features like this!
|
This thread helped me and we can use the nclass functions like:
|
Very cool! Your code is so succinct! I ended up with something similar but I also utilized the
|
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
I am trying to run an example that can be found on one of the tidyverse webpages on histograms: http://ggplot2.tidyverse.org/reference/geom_histogram.html
I am trying to use this example to have a function define the binwidth for a histogram. Here is the code example from this link
When I run the last command, I get an empty facetted plot (i.e. no histograms) and
warnings()
. Here is a snippet from the Console:I raise this as an issue here hoping for a solution, but also to make sure that you are aware of the example also showing on the tidyverse website.
Thanks!
Emile
Session Info:
The text was updated successfully, but these errors were encountered: