I have the code that I took from the example:
set.seed(123)
library(ggstatsplot)
grouped_ggbetweenstats(
data = dplyr::filter(ggplot2::mpg, drv != "4",displ==2),
x = year,
y = hwy,
grouping.var = drv,
)
I need to output a comparison between two groups After reading the documentation I added:
set.seed(123)
library(ggstatsplot)
# the most basic function call
grouped_ggbetweenstats(
data = dplyr::filter(ggplot2::mpg, drv != "4",displ==2),
x = year,
y = hwy,
grouping.var = drv,
pairwise.comparisons = T,
pairwise.display = "all",
p.adjust.method = "BH"
)
But the display of the comparison lines between the groups did not appear. Is it possible to somehow output them in this package ? For 3 or more groups, they are output, but not for 2.

