-
Notifications
You must be signed in to change notification settings - Fork 8
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
Wishlist: Support factors as x or y #2
Comments
Thanks Achim. I can't promise I'll get to this soon, but I just invited you to the project. No pressure (I'm well aware of how many other plates you have in the air...), but think of it as in invitation to take a stab at these if you get a chance ;-) |
Thanks! I'll try... |
Idea: I've taken another look at the current state of the code and my idea to tackle support of factor variables and also of facets is the following:
Examples: Functions would inlcude:
But also functions for a single numeric
Outer vs. inner function: The Open questions:
|
This sounds great @zeileis. (As an aside, I've thought before that we may need to offer more flexible axes control... Although, at least in the non-faceted cases that had in mind this could be done through some global Let me push me finish up a PR or two that address #19. Hopefully I'll have time after work today. Once those are merged, then I'll hold off making any other changes on the codebase until we have resolved the internal changes you have proposed above. |
OK, thanks, sounds good! |
Thanks:
Grant @grantmcdermott, the project looks really nice and useful, thanks!
Wishlist:
I just wanted to put on the wishlist that in addition to numeric
x
andy
, it would be great if the factor-basedplot()
flavors were also supported inplot2()
. Especially the plots wherey
is a factor are in my opinion underappreciated in base R. (It's not surprising that I would say that because I implemented these...)Plots:
In
plot(x, y, ...)
andplot(y ~ x, ...)
we have the following:x
Numeric
Factor
y
Numeric(Spineplot with histogram-style breaks in
x
)(Flavor of mosaic plot)
Examples:
It would be great if the plots above would work with
plot2()
as well - and if the coloring and grouping etc. would also be supported.GM edit: adding checklist to track
type = "boxplot"
#154)The text was updated successfully, but these errors were encountered: