Skip to content

Conversation

rodmellot
Copy link

@rodmellot rodmellot commented Mar 31, 2025

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 calling ggpairs() with a continuous mapping variable and the argument diag = list(continuous = "ridgeDiag"), it will return the usual classic plot, but with the diagonal displaying a density decomposition based on the continuous variable.

if (
!missing(mapping) && !is.list(mapping) &&
!missing(columnsX) && missing(columnsY)
!missing(columnsX) && missing(columnsY)
Copy link

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)
Copy link

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.

@katossky
Copy link

katossky commented May 7, 2025

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 ?

@katossky
Copy link

katossky commented May 7, 2025

Link to #505

@schloerke schloerke changed the title Optional solving issue #505 Add ggridges support Jun 12, 2025
@schloerke schloerke marked this pull request as draft June 12, 2025 19:40
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.

3 participants