I am having problems to make this representation of an Anova, as you can see they are two continuous variables (x= 1,2,3 and y= 1,2,3,4,5,6...9 anchored to a dataframe called spss. The error it gives me is the following:
Error in mutate()
:
! Problem while computing isanoutlier = ifelse(...)
.
The error occurred in group 1: COD_EDAD = 1.
Caused by error in $.default
:
! $ operator is invalid for atomic vectors
Also putting the code that i was utilized for try elaborate the graph:
ggstatsplot::ggbetweenstats(
data = SPSS,
x = COD_EDAD,
y = P4,
plot.type = "boxviolin",
notch = TRUE,
mean.ci = TRUE,
type = "P",
effsize.type = "partial_omega",)
k = 2, # cuántos decimales?
pairwise.comparisons = TRUE,
p.adjust.method = "bonferroni",
pairwise.display = "s",
outlier.tagging = TRUE,
outlier.coef = 1.5,
xlab = "rótulo del eje x",
ylab = "rótulo del eje y",
title = "Anova de un factor",
ggtheme = ggthemes::theme_economist(),
ggstatsplot.layer = FALSE,
package = "wesanderson",
palette = "Darjeeling1",
messages = FALSE
)
Thanks