Learn R Programming

tourrGui (version 0.4)

gui_pcp: PCP Tour GUI Displays an PCP Tour GUI

Description

This GUI allows users to control the pcp tour by simply moving and clicking their mouses. The PCP tour is the animation of nD tour path with a parallel coordinates plot. The Variable Selection checkboxes contains all the numeric variables, and at least three of them need to be checked to make the display work. All the categorical variables go to the Class Seclection box. We should select the class variable by double clicking the variable names. Color isn't implemented with the pcp tour yet. The Tour Type radio buttons contains four different tour types. They are the Grand Tour, Little Tour, Local Tour and Guided Tour. We can only choose one type a time. For the Guided Tour, we need to choose an index from the droplist to specify which particular search type is desired. The default index would be holes. For tour type Guided(lda_pp) and Guided(pda_pp), we also need to specify class variable first, and the Guided(pda_pp) is also controlled by another parameter, lambda. Lambda ranges from 0 to 1, with default at 0.02. A value of 0 will make the tour operate like Guided(lda_pp). The Choose Dimension radio buttons allow us to choose the dimension number n to animate a nD pcp tour. Dimension number of pcp tour is the axes number of the parallel coordinates. The Speed slider can control the speed of the nD tour. Simply dragging the mouse along the slider, changes the speed from slow to fast. The Pause check box allow users to pause the dynamic nD tour and have a close examination on the details. The Apply button allows users to update the nD tour, when it doesn't automatically update. The Quit button allows users to close thie GUI window. The Help button provides information about the tour and also what this GUI can do. Tooltips will pop up when the mouse is moved over the GUI, which give hints about the functionality of the different GUI elements.

Usage

gui_pcp(data = flea, ...)

Arguments

data
matrix, or data frame containing numeric columns, defaults to flea dataset
...
other arguments passed on to animate and display_xy

References

Bei Huang, Dianne Cook, Hadley Wickham (2012). tourrGui: A gWidgets GUI for the Tour to Explore High-Dimensional Data Using Low-Dimensional Projections. Journal of Statistical Software, 49(6), 1-12. http://www.jstatsoft.org/v49/i06/.

Examples

Run this code
## Not run: 
# gui_pcp(flea)
# ## End(Not run)

Run the code above in your browser using DataLab