-
Notifications
You must be signed in to change notification settings - Fork 204
Description
Hi! Terribly sorry if this has already been asked or has a simple solution. I didn't find it in the issues section. ggbetweenstats seems to add values to the y-axis even beyond the limit of the variable. I added code to limit the y-axis values, however, that then makes the pairwise comparisons above disappear. I already tried 3 ways to limit the y-axis and they all make it disappear. Do you have a solution for that? Thanks in advance.
My code:
ggbetweenstats( data = ds3_clean_90, x = condition_concept_fact, y = Schuldfaehigkeit_um, type = "parametric", # ANOVA or Kruskal-Wallis var.equal = TRUE, # ANOVA or Welch ANOVA plot.type = "box", pairwise.comparisons = TRUE, pairwise.display = "significant", centrality.plotting = TRUE, centrality.label.args = list(size = 3, nudge_x = 0.4, nudge_y = 0.2, segment.linetype = 4, min.segment.length = 0), bf.message = FALSE, xlab = "Conceptualization", ylab = "Culpability", p.adjust.method = "bonferroni" ) + ggplot2::scale_y_continuous( limits = (c(0, 5)))

