Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Boxplot

See Section 32.7.2

An example using ggplot2



> library(ggplot2)
> data(mpg)
> pl <- qplot(class, hwy, fill=factor(year), data=mpg, geom="boxplot", position="dodge") + 
    theme_bw()
> print(pl)

Image dmsurvivor-runderstanding:boxplot_ggplot2_mpg



Subsections

Copyright © 2004-2010 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