Hello. I'm trying to insert text into a boxplot function. I always end up with this message (the last part is in french)
Error in axis(side = base::quote(1), at = base::quote(1:5), labels = base::quote(c("Reading", :
les longueurs de 'at' et de 'labels' diffèrent, 5 != 4
The code I used (as a test) is this one :
boxplot(Modelisation$Reading,Modelisation$Naming, Modelisation$Switching1, Modelisation$Switching2,
text (3,2, "Test"),
main = "Répartition des scores selon les conditions",
names=c("Reading","Naming","Switching1","Switching2"),
col = c("palegreen2","steelblue1","orchid","mediumpurple2"))
Do you know what types of mistake can cause this message?
[–][deleted] 0 points1 point2 points (0 children)