I'm trying to add a grouped boxplot into a boxplot with only one group. I already made it, but the problem is that I can't give a name to the boxplot that has only one group. It is simply not shown. The arguments "name" and "names" don't seem to work when your boxplot does not have different groups.
boxplot(Daten$NV,
boxwex = 0.6, at = 1:1 - 0.2,col = "yellow",
name = "Gesamtstichprobe",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
ylab = "tooth length",
xlim = c(0.5, 3.5), ylim = c(0, 7), yaxs = "i")
boxplot(Daten$NV ~ Daten$CVKGruppe, add = TRUE,
boxwex = 0.3, at = 1:3 + 0.3, col = "orange")