Togaware DATA MINING
Desktop Survival Guide
by Graham Williams
Google

Scatterplot

We can start GGobi from Rattle by clicking the Execute button while having selected GGobi under the Interactive option of the Explore tab, as in Figure 7.1.

Figure 7.4: The Explore tab's Interactive option can initiate a GGobi session for interactive data analysis. Select GGobi and then click Execute.
Image explore:rattle_interactive_ggobi_cropped

We can also initiate GGobi with the rggobi function, providing it with a data frame to load:



> gg <- ggobi(weather)

On starting, GGobi will display the two windows shown in Figure 7.5. The first provides controls for the visualisations and the other displays the default visualisation (a two variable scatterplot of the first two variables of the supplied data frame).

Figure 7.5: The GGobi application control and scatterplot windows.
Image explore:ggobi_control       Image explore:ggobi_scatter_maxmintemp_touched

The control window provides menus to access all of the functionality of GGobi. Below the menu bar we can see the XY Plot (i.e., scatterplot) options. Two variables are selected from the variable list on the right hand side of the control window. The variables selected for display in the scatterplot are for the x-axis (X) and the y-axis (Y). By default, the first (MinTemp) and second (MaxTemp) are chosen. We can choose any of our variables to be the X or the Y by clicking the appropriate button. This will immediately change what is displayed in the plot.

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