Desktop Survival Guide
by Graham Williams

Multiple Boxplots

The default boxplot function in fact will plot multiple boxplots.

By comparing a number of variables we can see that some have quite a bit more spread than others, and their medians have different relative positions within the box.

We include the code here to generate a PDF version of the plot primarily to demonstrate how we can increase the width of the plot for a more pleasing presentation.

We could have presented the plot horizontally by setting the Roption[]horizontal option to TRUE.

pdf("graphics/rplot-wine-boxplot-multi.pdf", width=9)

Copyright © Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
The PDF version is a formatted comprehensive draft book (with over 800 pages).
Brought to you by Togaware. This page generated: Sunday, 22 August 2010