Questions tagged [ggstatsplot]
12 questions
3
votes
1 answer
ggbetweenstats: logarithmic y axis removes grouped analysis from plot
I am conducting a kruskal-wallis test to determine statistically significance between three groups of a measurement. I use ggbetweenstats to determine between which group there is a statistically significant association.
Here is the code for sample…

Max
- 91
- 7
3
votes
1 answer
How to use grouped_ggwithinstats() function from ggstatsplot package correctly
I am trying to use grouped_ggwithinstats() function from ggstatsplot package:
I have this data set:
df <- structure(list(time = c(0L, 1L, 2L, 3L, 0L, 1L, 2L, 3L, 0L, 1L,
2L, 3L, 0L, 1L, 2L, 3L), group1 = c("A", "A", "A", "A", "B",
"B", "B", "B",…

TarJae
- 72,363
- 6
- 19
- 66
1
vote
1 answer
ggstatsplot grouped_* function: Error in unique.default(x, nmax = nmax) : unique() applies only to vectors
I have seen this question asked by a number of people with different issues, but I have not found a response that fixes my problem.
I am having a problem with the following error when executing any of the grouped_* commands in ggstatsplot.
Error in…

clashncruz
- 21
- 2
1
vote
1 answer
ggstatsplot seems to think my data has a differing number of rows, but it doesn't
Here's a simplified example. I've got a data frame
data <- structure(list(day = structure(c(1L, 2L, 3L, 1L, 2L, 3L, 4L,
4L), levels = c("6", "10", "13", "26"), class = "factor"), measurement = c(114.243333333333,
114.473333333333,…

Mike
- 921
- 7
- 26
0
votes
0 answers
Is there a way to display long statistical test results in two lines using ggstatsplot::grouped_gbetweenstats?
I am performing an statistical analysis with a set of data grouped by two factors using ggstatsplot::grouped_gbetweenstats, but I have a problem with the results of statistical tests displayed as subtitles, because they are too long and i cannot see…

DanielCG
- 23
- 4
0
votes
1 answer
Removing scientific notation in ggstatsplot (R)
I am trying to remove scientific notation that appears above a graph generated by ggstatsplot. The p value reported there (together with the value of the test statistic, etc.) is given in scientific notation, which I would like to turn off.…

RNewbie
- 15
- 6
0
votes
1 answer
How to remove the 'pairwise test' text on the right-hand side of the graph in ggstatsplot
i am having difficulty removing the text on the right hand side of my graph (pairwise test:Dunn, bars shown: not significant). can anyone help?
plot1 <- ggstatsplot::ggbetweenstats(
data = boxplot.Age,
x = cluster,
y = Age,
color = group,
…
0
votes
0 answers
issues with function for plotting scatterplots to show correlations between multiple survey questions
I have a dataset containing answers to a survey (q1:q4), alongside characteristics of respondents (Project, Level).
data <- data.frame(Project = c(paste0("P", sample(1:3, 10, replace = TRUE))),
Level = c(sample(1:3, 10, replace =…

edodar
- 1
- 2
0
votes
1 answer
ggbetweenstats - change from T-test to Games-Howell pairwise comparison (one-way Anova)
I am comparing various groups, where for one group I have > 2 classes and for one group I have only two classes.
My data:
structure(list(lake_method = structure(c(3L, 3L, 3L, 3L, 3L,
3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L),…

Peter Pauker
- 11
- 3
0
votes
0 answers
ggbetweenstats - point size by variable
Is there a way to change the point size by variable in ggbetweenstats?
So far, I could get this:
SNV <- c(82, 90, 93, 83, 86, 86, 70, 81, 104, 90, 86, 98, 96, 91, 87, 92, 86, 99, 79, 94, 94, 84, 99, 77, 62, 70, 66, 60, 64, 70, 75, 54, 59, 66, 59,…

Milos
- 27
- 4
0
votes
0 answers
I obtain an error when using grouped_ggbetweenstats
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…

DanielCG
- 23
- 4
0
votes
0 answers
for loop with if statement inside to create multiple graphs using ggstatsplot package
I am struggling with my code and I can't figure out which is the actual problem.
Just to give you a bit of context: I am trying to write some code which will help me in performing automatic EDA using the ggstatsplot. I would like to select a target…

mich106
- 1