Use R! Series Editors: Robert Gentleman Kurt Hornik Giovanni Parmigiani Use R! Albert:Bayesian Computation with R Cook/Swayne:Interactive and Dynamic Graphics for Data Analysis Paradis: Analysis of Phylogenetics and Evolution with R Pfaff:Analysis of Integrated and Cointegrated Time Series with R Dianne Cook Deborah F. Swayne Interactive and Dynamic Graphics for Data Analysis With R and GGobi With Contributions by Andreas Buja, Duncan Temple Lang, Heike Hofmann, Hadley Wickham, and Michael Lawrence Dianne Cook Department of Statistics Iowa State University 325 Snedecor Hall Ames, IA 50011-1210
[email protected]du Deborah F. Swayne AT & T Labs - Research Shannon Laboratory 180 Park Avenue Florham Park, NJ 07932-1049
[email protected] Series Editors: Robert Gentleman Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 Seattle, Washington 981029-1024 USA Kurt Hornik Department für Statistik und Mathematik Wirtschaftsuniversität Wien Augasse 2-6 A-1090 Wien Austria Giovanni Parmigiani The Sidney Kimmel Comprehensive Cancer Center at Johns Hopkins University 550 North Broadway Baltimore, MD 21205-2011 USA ISBN 978-0-387-71761-6 e-ISBN 978-0-387-71762-3 Library of Congress Control Number: 2007925720 © 2007 Springer Science+Business Media, LLC All rights reserved. This work may not be translated or copied in whole or in part without the written permission of the publisher (Springer Science+Business Media, LLC, 233 Spring Street, New York, NY 10013, USA), except for brief excerpts in connection with reviews or scholarly analysis. Use in connection with any form of information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed is forbidden. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. Cover illustration: Brushing a cluster that was found by using the grand tour to explore two-dimensional projections of five-dimensional data on Australian crabs. HTML HyperText Markup Language; claimed as a trademark or generic term by MIT, ERCIM, and/or Keio on behalf of the W3C. Data Desk is a registered trademark of Data Description, Inc. Spotfire is a registered trademark of Spotfire, Inc. JMP is a registered trademark of SAS Institute Inc. Linux is a registered trademark of Linus Torvalds, the original author of the Linux kernel. Mac OS X - Operating System software - is a registered trademark of Apple Computer, Inc. S-PLUS is a registered trademark R is a registered trademark of Microsoft Corporation. Windows is a of Insightful Corporation. Microsoft registered trademarks of Microsoft Corporation. XML - Extensible Markup Language; Language by W3C - claimed as a trademark or generic term by MIT, ERCIM, and/or Keio on behalf of the W3C. Facebook is a registered trademark of Facebook Inc. MySpace is a Registered Trademark of News Corp. SYSTAT is a registered trademark of Systat Software, Inc. SPSS is a registered trademark of SPSS Inc. Printed on acid-free paper. 9 8 7 6 5 4 3 2 1 springer.com Preface This book is about using interactive and dynamic plots on a computer screen as part of data exploration and modeling, both alone and as a partner with static graphics and non-graphical computational methods. The area of interactive and dynamic data v