Skip to content

Conversation

@mathgrd
Copy link

@mathgrd mathgrd commented Mar 31, 2025

With @margotpass we add a new parameter to ggbetweenstats et ggwithinstats called box.outliers which allow the user to show or not the outliers (FALSE as default). To change the parameters of the outlier points, there is the argument outliers.args which work like points.args

point.args = list(size = 3,
alpha = 0.5,
na.rm = TRUE),
boxplot.outliers = FALSE,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid modifying the "style" of the code. The consequence is that it becomes hard to actually see what changed : here the introduction of boxplot.outliers = FALSE.

Comment on lines +252 to +264
plot_comparison <- suppressWarnings(
.centrality_ggrepel(
plot = plot_comparison,
data = data,
x = {{ x }},
y = {{ y }},
digits = digits,
type = stats_type_switch(centrality.type),
tr = tr,
centrality.point.args = centrality.point.args,
centrality.label.args = centrality.label.args
)
)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No change here.

@katossky
Copy link

katossky commented May 7, 2025

Would you be nice to ass an example of before/after on a simple plot ? Here or on issue #963. (By the way you need to use # before the issue number if you want Github to create a link automatically.)

And then there will be the documentation of the two new parameters.

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