You can set the graphical parameters that are described in ?bxp :
boxlty: box outline type whisklty: whisker line type staplelty: staple (= end of whisker) line type
Setting outline = FALSE suppresses outliers in the drawing.
boxplot(count ~ spray, data = InsectSprays, outline = FALSE, boxlty = 0, whisklty = 0, staplelty = 0)
must draw a rectangle with horizontal lines in the media.
Benbarnes
source share