I have some issues with the function grouped_ggbetweenstats from ggstatsplot package. I have tried with different data, but I always obtain the same error:
Error in unique.default(x, nmax = nmax) :
unique() puede ser aplicada solamente a vectores
I provide an example here:
lapply(c("rstatix", "ggstatsplot", "openintro"), require, character.only = TRUE)
print(hsb2)
grouped_ggbetweenstats(data = hsb2, x=prog, y= math, grouping.var = gender, results.subtitle=F, messages=F, var.equal=T, p.adjust.method="holm")
Please, could anyone provide any idea about what the error is and a possible solution?
Thanks in advance