Skip to content
Prev 147855 / 398500 Next

boxplot colors

You are drawing four box plots, not two. Two of them are just the number 5.
The two box plots that are only "5" don't have a box, so you can't see that
they're red. Try this:

boxplot(1:19,20:39,col=c("red","blue"))
Paul Adams-8 wrote: