-
Notifications
You must be signed in to change notification settings - Fork 133
Add ggridges support #518
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
base: main
Are you sure you want to change the base?
Add ggridges support #518
Conversation
if ( | ||
!missing(mapping) && !is.list(mapping) && | ||
!missing(columnsX) && missing(columnsY) | ||
!missing(columnsX) && missing(columnsY) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try not to submit changes that are only stylistic.
|
||
# get plot type information | ||
dataTypes <- plot_types(data, columnsX, columnsY, allowDiag = FALSE) | ||
dataTypes <- GGally:::plot_types(data, columnsX, columnsY, allowDiag = FALSE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not use GGally::
form within the GGally
package.
If I understand correctly there was actually no problem with the fill / colour attribute, but the issue was only caused by the impossibility to "group" by a continuous variable on the diagonal ? |
Link to #505 |
Related: #505
Our new version of the package, created with @melanielacour, enables the generation of new plots on the diagonal within the
ggpairs()
function. Specifically, when callingggpairs()
with a continuous mapping variable and the argumentdiag = list(continuous = "ridgeDiag")
, it will return the usual classic plot, but with the diagonal displaying a density decomposition based on the continuous variable.